diff --git a/src/apps/AppCreditPoints/components/sysUserIntegral.vue b/src/apps/AppCreditPoints/components/sysUserIntegral.vue index 7df2030c..a1608233 100644 --- a/src/apps/AppCreditPoints/components/sysUserIntegral.vue +++ b/src/apps/AppCreditPoints/components/sysUserIntegral.vue @@ -46,14 +46,13 @@ export default { }, created() { this.getInfo() - uni.$on("onShow", () => { - this.getInfo(); - }) uni.$on("reachBottom", () => { this.current++; this.getInfo() }) uni.$on('updateIntegral', () => { + this.current = 1 + this.list = [] this.getInfo() }) }, diff --git a/src/apps/AppCreditPoints/giveIntegral.vue b/src/apps/AppCreditPoints/giveIntegral.vue index 0817cf38..79378924 100644 --- a/src/apps/AppCreditPoints/giveIntegral.vue +++ b/src/apps/AppCreditPoints/giveIntegral.vue @@ -74,6 +74,9 @@ export default { this.flag = false this.$u.toast(res.msg) } + }).catch((err) => { + this.flag = false + this.$u.toast(err) }) }, handleSelectUser(v) {