征求意见名称展示
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<ul>
|
||||
<li v-for="item in domesticDynamics" :key="item.id" class="time-title">
|
||||
<div style="height: 18px">
|
||||
<a class="title" :title="item.cname" @click="standForComments(item)">{{ item.cname }}</a>
|
||||
<a class="title" :title="item.cname" @click="standForComments(item)">{{ item.cid }}</a>
|
||||
<span class="time">{{ item.endTime }}</span>
|
||||
</div>
|
||||
</li>
|
||||
@@ -44,12 +44,7 @@ export default {
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
let arr = res.data.records;
|
||||
arr.forEach(item => {
|
||||
if (item.cname !== "") {
|
||||
this.domesticDynamics.push(item);
|
||||
}
|
||||
});
|
||||
this.domesticDynamics = res.data.records
|
||||
}, e => {
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user