Fix(评论):[#4018]错误提示未显示
This commit is contained in:
@@ -225,14 +225,9 @@ export default {
|
||||
page: 1,
|
||||
limit: 99999
|
||||
}
|
||||
uni.showLoading({
|
||||
mask: true
|
||||
})
|
||||
getCommentList(params).then((res) => {
|
||||
comment.children = res.data.records
|
||||
comment.hasMoreChildren = false
|
||||
}).finally(() => {
|
||||
uni.hideLoading()
|
||||
})
|
||||
},
|
||||
commentInputChange(e) {
|
||||
@@ -319,8 +314,6 @@ export default {
|
||||
this.reply = ''
|
||||
this.currentComment = {}
|
||||
this.item.replyCount === null ? this.item.replyCount = 1 : this.item.replyCount++
|
||||
}).finally(() => {
|
||||
uni.hideLoading()
|
||||
})
|
||||
},
|
||||
init() {
|
||||
@@ -341,8 +334,6 @@ export default {
|
||||
}
|
||||
getCommentList(params).then((res) => {
|
||||
this.comments = res.data.records
|
||||
}).finally(() => {
|
||||
uni.hideLoading()
|
||||
})
|
||||
},
|
||||
likeInfo() {
|
||||
@@ -350,9 +341,8 @@ export default {
|
||||
mask: true
|
||||
})
|
||||
getHotelNewsZan(this.id).then((res) => {
|
||||
getHotelNewsDetail(this.id).then(({ data }) => (this.item = data))
|
||||
}).finally(() => {
|
||||
uni.hideLoading()
|
||||
getHotelNewsDetail(this.id).then(({ data }) => (this.item = data))
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user