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 } })