修复朋友圈分享
This commit is contained in:
@@ -241,7 +241,7 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.info = res.data
|
this.info = res.data
|
||||||
this.pageShow = true
|
return this.pageShow = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -260,7 +260,6 @@ export default {
|
|||||||
if (!this.content) {
|
if (!this.content) {
|
||||||
return this.$toast('内容不能为空')
|
return this.$toast('内容不能为空')
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$loading()
|
this.$loading()
|
||||||
this.$instance.post(!this.commentId ? `/app/appneighborhoodassistance/addComment` : `/app/appneighborhoodassistance/addReply`, {
|
this.$instance.post(!this.commentId ? `/app/appneighborhoodassistance/addComment` : `/app/appneighborhoodassistance/addReply`, {
|
||||||
content: this.content,
|
content: this.content,
|
||||||
@@ -268,7 +267,6 @@ export default {
|
|||||||
type: this.commentId ? 1 : 0,
|
type: this.commentId ? 1 : 0,
|
||||||
commentId: this.commentId || ''
|
commentId: this.commentId || ''
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
uni.hideLoading()
|
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.isShowComment = false
|
this.isShowComment = false
|
||||||
this.$toast('提交成功')
|
this.$toast('提交成功')
|
||||||
@@ -279,7 +277,6 @@ export default {
|
|||||||
|
|
||||||
this.isMore = false
|
this.isMore = false
|
||||||
this.current = 1
|
this.current = 1
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.getCommontList(this.id)
|
this.getCommontList(this.id)
|
||||||
})
|
})
|
||||||
@@ -321,9 +318,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.isMore = true
|
this.isMore = true
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => this.$hideLoading())
|
||||||
this.$hideLoading()
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
|
|||||||
Reference in New Issue
Block a user