积分 bug

This commit is contained in:
liuye
2022-05-25 18:26:33 +08:00
parent 4f5ecd6799
commit c462540112
2 changed files with 5 additions and 3 deletions

View File

@@ -46,14 +46,13 @@ export default {
}, },
created() { created() {
this.getInfo() this.getInfo()
uni.$on("onShow", () => {
this.getInfo();
})
uni.$on("reachBottom", () => { uni.$on("reachBottom", () => {
this.current++; this.current++;
this.getInfo() this.getInfo()
}) })
uni.$on('updateIntegral', () => { uni.$on('updateIntegral', () => {
this.current = 1
this.list = []
this.getInfo() this.getInfo()
}) })
}, },

View File

@@ -74,6 +74,9 @@ export default {
this.flag = false this.flag = false
this.$u.toast(res.msg) this.$u.toast(res.msg)
} }
}).catch((err) => {
this.flag = false
this.$u.toast(err)
}) })
}, },
handleSelectUser(v) { handleSelectUser(v) {