From 3f59801805157beecf5b115a8f4df4b6160db6f0 Mon Sep 17 00:00:00 2001 From: LinCyJang Date: Tue, 8 Jul 2025 23:51:49 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A3989=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E4=BA=92=E5=8A=A8=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E5=9B=9E=E5=A4=8D=E5=86=85=E5=AE=B9=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E6=97=B6=E5=B0=86=E6=8F=90=E7=A4=BA=E6=B6=88=E6=81=AF=E2=80=9C?= =?UTF-8?q?reply=E8=AF=84=E8=AE=BA=E5=86=85=E5=AE=B9=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=E2=80=9D=E6=94=B9=E4=B8=BA=E2=80=9C=E8=AF=B7?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E5=9B=9E=E5=A4=8D=E5=86=85=E5=AE=B9=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg_common/views/message.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkg_common/views/message.vue b/pkg_common/views/message.vue index 9e4342a..d2725a2 100644 --- a/pkg_common/views/message.vue +++ b/pkg_common/views/message.vue @@ -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