重新整改积分

This commit is contained in:
aixianling
2022-05-20 15:03:36 +08:00
parent 33833951a4
commit 7e9f5c2739
7 changed files with 851 additions and 187 deletions

View File

@@ -46,8 +46,11 @@ export default {
},
created() {
this.getInfo()
uni.$on("reachBottom", onShow => {
!onShow && this.current++;
uni.$on("onShow", () => {
this.getInfo();
})
uni.$on("reachBottom", () => {
this.current++;
this.getInfo()
})
},
@@ -69,6 +72,10 @@ export default {
gotoGive() {
uni.navigateTo({url: "./giveIntegral"})
}
},
destroyed() {
uni.$off("reachBottom")
uni.$off("onShow")
}
}
</script>