From fc9e6b2ff773f4e48132821541f4b128457cc536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Thu, 7 Aug 2025 17:51:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=AC=E5=9C=B0=E7=94=9F?= =?UTF-8?q?=E6=B4=BB=E7=82=B9=E8=AF=84=E5=9B=9E=E5=A4=8D=E7=9A=84=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/localLife/UserComment/index.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/localLife/UserComment/index.vue b/packages/localLife/UserComment/index.vue index ce03f632..59c9a53b 100644 --- a/packages/localLife/UserComment/index.vue +++ b/packages/localLife/UserComment/index.vue @@ -129,6 +129,14 @@ export default { sendComment() { // 这里添加发送评论的逻辑 console.log('发送评论'); + if (!this.reply_content) { + uni.showToast({ + title: "请输入评论内容", + icon: "none", + duration: 2000 + }) + return + } let that = this request(apiArr.createUserReply, "POST", { evaluation_id: that.info.id,