重新整改积分
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user