This commit is contained in:
花有清香月有阴
2022-01-06 19:42:27 +08:00
parent cd399357be
commit 701ee0f15a
3 changed files with 66 additions and 15 deletions

View File

@@ -90,14 +90,15 @@ export default {
},
},
mounted() {
this.current = 1
this.girdList()
this.getList()
},
created() {
this.$dict.load('clapEventStatus').then(() => {
this.getList()
this.listType = this.$dict.getDict('clapEventStatus')
})
this.current = 1
this.girdList()
this.getList()
},
methods: {
getList() {
@@ -115,6 +116,7 @@ export default {
if (res.code == 0) {
this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
this.pages = res.data.pages
this.$forceUpdate()
}
})
},