Fix:3989 【商城小程序】互动消息回复内容为空时将提示消息“reply评论内容不能为空”改为“请输入回复内容”
This commit is contained in:
@@ -188,7 +188,6 @@ export default {
|
||||
* @param {*} item 消息数据
|
||||
*/
|
||||
replyMessage() {
|
||||
console.log(this.currentComment.senderUserNickname);
|
||||
if(!this.currentComment.senderUserNickname) {
|
||||
// 未选择需要回复的用户,提示
|
||||
uni.showToast({
|
||||
@@ -197,6 +196,13 @@ export default {
|
||||
})
|
||||
return
|
||||
}
|
||||
if(this.content === '') {
|
||||
// 请输入回复内容
|
||||
uni.showToast({
|
||||
title: '请输入回复内容',
|
||||
icon: 'none',
|
||||
})
|
||||
}
|
||||
// 点击弹出回复框,输入回复内容,点击发送按钮,发送回复消息
|
||||
uni.showLoading({
|
||||
mask: true, // 显示透明蒙层,防止触摸穿透,默认:false
|
||||
|
||||
Reference in New Issue
Block a user