Fix:3980 【商城小程序】互动消息列表只显示最新的十条记录,未全部显示
This commit is contained in:
@@ -162,7 +162,7 @@ export default {
|
|||||||
showSendBtn(item) {
|
showSendBtn(item) {
|
||||||
this.showBtn = true // 显示发送按钮
|
this.showBtn = true // 显示发送按钮
|
||||||
this.currentComment = item
|
this.currentComment = item
|
||||||
this.content = ' ' // 清空输入框
|
this.content = ' `' // 清空输入框
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 回复消息
|
* 回复消息
|
||||||
@@ -177,12 +177,11 @@ export default {
|
|||||||
contentId: this.currentComment.contentId, // 评论的目标内容ID,必传
|
contentId: this.currentComment.contentId, // 评论的目标内容ID,必传
|
||||||
contentType: 'hotelNews', // 评论的目标内容类型,必传(店铺资讯传入值hotelNews)
|
contentType: 'hotelNews', // 评论的目标内容类型,必传(店铺资讯传入值hotelNews)
|
||||||
reply: this.content, // 评论内容,必传
|
reply: this.content, // 评论内容,必传
|
||||||
parentReplyId: this.currentComment.parentReplyId,
|
|
||||||
atUid: this.currentComment.senderUid // @的用户ID
|
atUid: this.currentComment.senderUid // @的用户ID
|
||||||
}
|
}
|
||||||
replyMessage(params).then(res => {
|
replyMessage(params).then(res => {
|
||||||
this.fetchList() // 查询消息列表
|
this.fetchList() // 查询消息列表
|
||||||
uni.hideLoading()
|
uni.hideLoading
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
@@ -194,7 +193,7 @@ export default {
|
|||||||
page: 1, // 页码
|
page: 1, // 页码
|
||||||
limit: 999999
|
limit: 999999
|
||||||
}
|
}
|
||||||
getMessageList().then(res => {
|
getMessageList(params).then(res => {
|
||||||
this.list = res.data.records
|
this.list = res.data.records
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user