From b5448c6d78cd03367e96284e24000350ad075161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?= =?UTF-8?q?=E9=98=B4?= <185154740@qq.com> Date: Wed, 12 Jan 2022 18:10:58 +0800 Subject: [PATCH] bug --- src/apps/AppEpidemicSituation/ErrorDetail.vue | 2 +- src/apps/AppEpidemicSituation/Health.vue | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/apps/AppEpidemicSituation/ErrorDetail.vue b/src/apps/AppEpidemicSituation/ErrorDetail.vue index 0a6ddfa0..1c58a20b 100644 --- a/src/apps/AppEpidemicSituation/ErrorDetail.vue +++ b/src/apps/AppEpidemicSituation/ErrorDetail.vue @@ -212,7 +212,7 @@ export default { uni.$emit('updateDetail') setTimeout(() => { uni.navigateBack() - }, 800) + }, 600) } }) }) diff --git a/src/apps/AppEpidemicSituation/Health.vue b/src/apps/AppEpidemicSituation/Health.vue index 7a5e6c0d..9ea98470 100644 --- a/src/apps/AppEpidemicSituation/Health.vue +++ b/src/apps/AppEpidemicSituation/Health.vue @@ -119,9 +119,6 @@ export default { }, methods: { getList() { - uni.showLoading({ - title: '加载数据中', - }) this.$http .post('/app/appepidemicreportmember/list', null, { params: { size: this.size, current: this.current, status: this.currentTabs == 1 ? '0' : '', areaId: this.areaId, name: this.keyword }, @@ -129,14 +126,10 @@ export default { .then((res) => { if (res.code == 0) { this.data = this.current > 1 ? [...this.data, ...res.data.records] : res.data.records - uni.hideLoading() } else { - uni.hideLoading() } }) - .catch(() => { - uni.hideLoading() - }) + .catch(() => {}) }, getUserList() {