This commit is contained in:
shijingjing
2022-02-18 18:11:38 +08:00
parent ce1a37b804
commit 42b25e1963
2 changed files with 6 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ export default {
created() { created() {
this.getList() this.getList()
this.$dict.load('villagerCircleTopic','auditStatus').then(()=>{ this.$dict.load('villagerCircleTopic','auditStatus').then(()=>{
this.$on('update',()=>{ uni.$on('update',()=>{
this.current = 1 this.current = 1
this.getList() this.getList()
}) })

View File

@@ -50,9 +50,12 @@ export default {
}, },
onLoad() { onLoad() {
this.$dict.load('villagerCircleTopic','auditStatus').then(()=>{ this.$dict.load('villagerCircleTopic','auditStatus').then(()=>{
uni.$on('update',()=>{
this.current = 1 this.current = 1
this.getList() this.getList()
}) })
})
}, },
methods: { methods: {
tabClick(index) { tabClick(index) {