From 8c5316db0709fe91c9497f9d3dc523e193793888 Mon Sep 17 00:00:00 2001 From: wanglei <1336977847@qq.com> Date: Mon, 13 Dec 2021 14:30:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=9F=A5=E5=85=AC=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppNotification/AppNotification.vue | 7 ------- src/apps/AppNotification/detail.vue | 5 ----- src/apps/AppNotification/read.vue | 2 -- 3 files changed, 14 deletions(-) diff --git a/src/apps/AppNotification/AppNotification.vue b/src/apps/AppNotification/AppNotification.vue index 2c7cc54e..cbd7b95d 100644 --- a/src/apps/AppNotification/AppNotification.vue +++ b/src/apps/AppNotification/AppNotification.vue @@ -139,11 +139,8 @@ export default { onShow() { this.current = 1; - this.$loading() this.injectJWeixin(['sendChatMessage']).then(() => { this.getList(); - }).catch(() => { - this.$hideLoading() }) }, @@ -237,10 +234,6 @@ export default { } this.dataList = this.current > 1 ? [...this.dataList, ...res.data.records] : res.data.records } - - this.$hideLoading() - }).catch(() => { - this.$hideLoading() }) }, } diff --git a/src/apps/AppNotification/detail.vue b/src/apps/AppNotification/detail.vue index 52811928..f11e0dc6 100644 --- a/src/apps/AppNotification/detail.vue +++ b/src/apps/AppNotification/detail.vue @@ -80,12 +80,8 @@ }, created() { - this.$loading() this.injectJWeixin(['sendChatMessage']).then(() => { this.getDetail() - }).catch(() => { - this.getDetail() - this.$hideLoading() }) }, @@ -111,7 +107,6 @@ if (res && res.data) { this.detailObj = res.data; this.pageShow = true - this.$hideLoading() } }) }, diff --git a/src/apps/AppNotification/read.vue b/src/apps/AppNotification/read.vue index 9f7920a0..ec99853b 100644 --- a/src/apps/AppNotification/read.vue +++ b/src/apps/AppNotification/read.vue @@ -31,7 +31,6 @@ export default { }, created() { document.title = "接收对象"; - this.$loading() this.injectJWeixin().then(() => { this.getList(); }) @@ -46,7 +45,6 @@ export default { }).then(res => { if (res && res.data) { this.list = res.data; - this.$hideLoading() } }) },