修复朋友圈分享
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user