From b627e053957ca0b2bbf16d5b0a7106327b122851 Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 25 Aug 2023 16:27:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=A2=E9=BE=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/lulong/AppHandSnapshot/AppHandSnapshot.vue | 6 ++---- src/project/lulong/AppHandSnapshot/List.vue | 2 -- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/project/lulong/AppHandSnapshot/AppHandSnapshot.vue b/src/project/lulong/AppHandSnapshot/AppHandSnapshot.vue index 2eef94c8..5d7c642b 100644 --- a/src/project/lulong/AppHandSnapshot/AppHandSnapshot.vue +++ b/src/project/lulong/AppHandSnapshot/AppHandSnapshot.vue @@ -79,11 +79,9 @@ export default { uni.$on('showTab', () => { this.isTab = true }) - uni.$on('getListInit', () => { + if (!this.tabIndex) { this.$nextTick(() => this.$refs['List'].getListInit()) - }) - - this.$nextTick(() => this.$refs['List'].getListInit()) + } }, onReachBottom() { if (!this.tabIndex) { diff --git a/src/project/lulong/AppHandSnapshot/List.vue b/src/project/lulong/AppHandSnapshot/List.vue index 59a77fe9..5e5e0ea1 100644 --- a/src/project/lulong/AppHandSnapshot/List.vue +++ b/src/project/lulong/AppHandSnapshot/List.vue @@ -170,10 +170,8 @@ export default { }, getIsAdd() { - console.log(123) this.$http.post(`/app/apppatrolreportinfo/checkGirdMemberUser`).then((res) => { if (res.code == 0) { - console.log(res.data) this.isAdd = res.data } })