This commit is contained in:
shijingjing
2022-02-22 17:28:23 +08:00
parent 178a6084e3
commit ca1a4d878b
4 changed files with 14 additions and 19 deletions

View File

@@ -26,7 +26,7 @@
</div>
<AiEmpty description="暂无数据" class="emptyWrap" v-else></AiEmpty>
<u-select v-model="showType" :list="$dict.getDict('villagerCircleTopic')" label-name="dictName" value-name="dictValue"
<u-select v-model="showType" :list="list" label-name="dictName" value-name="dictValue"
@confirm="confirmTypeSelect"/>
</div>
</div>
@@ -46,6 +46,7 @@ export default {
current: 1,
topic: '',
topicType: '',
list: [],
}
},
onLoad() {
@@ -54,8 +55,9 @@ export default {
this.current = 1
this.getList()
})
})
let all = [{ dictName: '全部', dictValue: '6', dictColor: null }]
this.list = [...all, ...this.$dict.getDict('villagerCircleTopic')]
},
methods: {
tabClick(index) {