From 301863e05c27497a4d9b19a01f4005262d0615ed Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 6 Mar 2024 15:51:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=8B=E5=8F=8B=E5=9C=88?= =?UTF-8?q?=E5=88=86=E4=BA=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mods/extra/AppCircle/Detail.vue | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/mods/extra/AppCircle/Detail.vue b/src/mods/extra/AppCircle/Detail.vue index 812038c..b0e2642 100644 --- a/src/mods/extra/AppCircle/Detail.vue +++ b/src/mods/extra/AppCircle/Detail.vue @@ -241,7 +241,7 @@ export default { }).then(res => { if (res?.data) { this.info = res.data - this.pageShow = true + return this.pageShow = true } }) }, @@ -260,7 +260,6 @@ export default { if (!this.content) { return this.$toast('内容不能为空') } - this.$loading() this.$instance.post(!this.commentId ? `/app/appneighborhoodassistance/addComment` : `/app/appneighborhoodassistance/addReply`, { content: this.content, @@ -268,7 +267,6 @@ export default { type: this.commentId ? 1 : 0, commentId: this.commentId || '' }).then(res => { - uni.hideLoading() if (res.code === 0) { this.isShowComment = false this.$toast('提交成功') @@ -279,7 +277,6 @@ export default { this.isMore = false this.current = 1 - this.$nextTick(() => { this.getCommontList(this.id) }) @@ -321,9 +318,7 @@ export default { } else { this.isMore = true } - }).finally(() => { - this.$hideLoading() - }) + }).finally(() => this.$hideLoading()) } }, onReachBottom() {