This commit is contained in:
liuye
2023-05-11 15:46:40 +08:00
parent 1705ed563b
commit 31a8c9a352

View File

@@ -83,7 +83,7 @@ export default {
computed: { computed: {
...mapState(['user']), ...mapState(['user']),
listType() { listType() {
return this.$dict.getDict(this.currentTabs == 0 ? 'clapEventStatusAll' : 'clapEventStatusHistory', 'residentEventSource') return this.$dict.getDict(this.currentTabs == 0 ? 'clapEventStatusAll' : 'clapEventStatusHistory')
} }
}, },
onLoad() { onLoad() {
@@ -101,7 +101,7 @@ export default {
this.getList() this.getList()
}, },
created() { created() {
this.$dict.load('clapEventStatus', 'clapEventStatusAll', 'clapEventStatusHistory').then(() => { this.$dict.load('clapEventStatus', 'clapEventStatusAll', 'clapEventStatusHistory', 'residentEventSource').then(() => {
this.getList() this.getList()
}) })
}, },