BUG 30289
This commit is contained in:
@@ -35,7 +35,7 @@ export default {
|
||||
})
|
||||
},
|
||||
onReachBottom() {
|
||||
uni.$emit("reachBottom")
|
||||
uni.$emit("reachBottom" + this.tabIndex)
|
||||
},
|
||||
onShow() {
|
||||
uni.$emit("onShow")
|
||||
@@ -50,7 +50,6 @@ export default {
|
||||
<style scoped lang="scss">
|
||||
.AppCreditPoints {
|
||||
width: 100vw;
|
||||
overflow-x: hidden;
|
||||
background-color: #f3f6f9;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ export default {
|
||||
uni.$on("onShow", () => {
|
||||
this.getInfo();
|
||||
})
|
||||
uni.$on("reachBottom", () => {
|
||||
uni.$on("reachBottom0", () => {
|
||||
if (this.list.length < 50) {
|
||||
this.current++;
|
||||
this.getInfo()
|
||||
@@ -158,7 +158,7 @@ export default {
|
||||
},
|
||||
},
|
||||
destroyed() {
|
||||
uni.$off("reachBottom")
|
||||
uni.$off("reachBottom0")
|
||||
uni.$off("onShow")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ export default {
|
||||
},
|
||||
created() {
|
||||
this.getInfo()
|
||||
uni.$on("reachBottom", () => {
|
||||
uni.$on("reachBottom2", () => {
|
||||
this.current++;
|
||||
this.getInfo()
|
||||
})
|
||||
@@ -76,7 +76,7 @@ export default {
|
||||
}
|
||||
},
|
||||
destroyed() {
|
||||
uni.$off("reachBottom")
|
||||
uni.$off("reachBottom2")
|
||||
uni.$off("onShow")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ export default {
|
||||
uni.$on("onShow", () => {
|
||||
this.getInfo();
|
||||
})
|
||||
uni.$on("reachBottom", () => {
|
||||
uni.$on("reachBottom1", () => {
|
||||
if (this.list.length < 50) {
|
||||
this.current++;
|
||||
this.getInfo()
|
||||
@@ -158,7 +158,7 @@ export default {
|
||||
},
|
||||
},
|
||||
destroyed() {
|
||||
uni.$off("reachBottom")
|
||||
uni.$off("reachBottom1")
|
||||
uni.$off("onShow")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user