diff --git a/packages/3.0.0/AppVillagerDiscussion/components/List.vue b/packages/3.0.0/AppVillagerDiscussion/components/List.vue index d7c10f29..aac983aa 100644 --- a/packages/3.0.0/AppVillagerDiscussion/components/List.vue +++ b/packages/3.0.0/AppVillagerDiscussion/components/List.vue @@ -76,7 +76,7 @@ areaList: [], total: 10, colConfigs: [ - { prop: 'title', label: '议事主题', align: 'left', width: '200px' }, + { prop: 'content', label: '议事主题', align: 'left', width: '200px' }, { prop: 'type', label: '议事类型', align: 'center', formart: v => this.dict.getLabel('discussType', v) }, { prop: 'createUserName', label: '话事人', align: 'center' }, { prop: 'msgCount', label: '观点数量', align: 'center', formart: v => v === 0 ? '-' : v }, @@ -111,7 +111,12 @@ } }).then(res => { if (res.code == 0) { - this.tableData = res.data.records + this.tableData = res.data.records.map(v => { + return { + ...v, + content: v.content || v.title + } + }) this.total = res.data.total } })