Fix:3989 【商城小程序】互动消息回复内容为空时将提示消息“reply评论内容不能为空”改为“请输入回复内容”

This commit is contained in:
LinCyJang
2025-07-08 23:51:49 +08:00
parent 69132a4e48
commit 3f59801805
+7 -1
View File
@@ -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