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