字典
This commit is contained in:
@@ -83,7 +83,7 @@ export default {
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
listType() {
|
||||
return this.$dict.getDict(this.currentTabs == 0 ? 'clapEventStatusAll' : 'clapEventStatusHistory', 'residentEventSource')
|
||||
return this.$dict.getDict(this.currentTabs == 0 ? 'clapEventStatusAll' : 'clapEventStatusHistory')
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
@@ -101,7 +101,7 @@ export default {
|
||||
this.getList()
|
||||
},
|
||||
created() {
|
||||
this.$dict.load('clapEventStatus', 'clapEventStatusAll', 'clapEventStatusHistory').then(() => {
|
||||
this.$dict.load('clapEventStatus', 'clapEventStatusAll', 'clapEventStatusHistory', 'residentEventSource').then(() => {
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user