This commit is contained in:
yanran200730
2022-11-03 16:08:39 +08:00
parent 7ac0dcbb80
commit 4cf8f9a4f6
2 changed files with 12 additions and 7 deletions

View File

@@ -116,10 +116,6 @@
onReachBottom () {
this.getList()
},
onPageScroll (params) {
this.isFixed = params.scrollTop > 60
}
}
</script>

View File

@@ -78,6 +78,15 @@
})
},
onShow () {
this.isMore = false
this.current = 1
this.$nextTick(() => {
this.getList()
})
},
methods: {
...mapActions(['autoLogin', 'getUserInfo']),
@@ -134,9 +143,9 @@
}
},
onReachBottom () {
this.getList()
}
onReachBottom () {
this.getList()
}
}
</script>