From 4cf8f9a4f663a093c34d28ce603340ba0c455136 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Thu, 3 Nov 2022 16:08:39 +0800 Subject: [PATCH] bug --- src/project/tianfuxing/AppHome/AppHome.vue | 4 ---- src/project/tianfuxing/AppMy/AppMy.vue | 15 ++++++++++++--- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/project/tianfuxing/AppHome/AppHome.vue b/src/project/tianfuxing/AppHome/AppHome.vue index c3f5c8a..c5fc76d 100644 --- a/src/project/tianfuxing/AppHome/AppHome.vue +++ b/src/project/tianfuxing/AppHome/AppHome.vue @@ -116,10 +116,6 @@ onReachBottom () { this.getList() - }, - - onPageScroll (params) { - this.isFixed = params.scrollTop > 60 } } diff --git a/src/project/tianfuxing/AppMy/AppMy.vue b/src/project/tianfuxing/AppMy/AppMy.vue index 39d7e85..c50c858 100644 --- a/src/project/tianfuxing/AppMy/AppMy.vue +++ b/src/project/tianfuxing/AppMy/AppMy.vue @@ -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() + } }