uni.$on
This commit is contained in:
@@ -53,7 +53,7 @@ export default {
|
||||
created() {
|
||||
this.getList()
|
||||
this.$dict.load('villagerCircleTopic','auditStatus').then(()=>{
|
||||
this.$on('update',()=>{
|
||||
uni.$on('update',()=>{
|
||||
this.current = 1
|
||||
this.getList()
|
||||
})
|
||||
|
||||
@@ -50,9 +50,12 @@ export default {
|
||||
},
|
||||
onLoad() {
|
||||
this.$dict.load('villagerCircleTopic','auditStatus').then(()=>{
|
||||
uni.$on('update',()=>{
|
||||
this.current = 1
|
||||
this.getList()
|
||||
})
|
||||
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
tabClick(index) {
|
||||
|
||||
Reference in New Issue
Block a user