From 192217719f9d699a5a3c53c487605efd58a437c1 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Mon, 24 Oct 2022 18:58:39 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=AF=BE=E7=A8=8B=E5=AD=A6=E4=B9=A0?= =?UTF-8?q?=E3=80=91=E7=AC=94=E8=AE=B0=E7=9A=84=E5=9B=9E=E5=A4=8D=EF=BC=8C?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E2=80=9C=E5=9B=9E=E5=A4=8D=E2=80=9D=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E5=90=8E=EF=BC=8C=E7=82=B9=E5=87=BB=E5=87=A0=E6=AC=A1?= =?UTF-8?q?=E4=BC=9A=E5=87=BA=E7=8E=B0=E5=87=A0=E6=AC=A1=E5=9B=9E=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Portal/noteComment.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/Portal/noteComment.vue b/src/components/Portal/noteComment.vue index 6dd0d35d..7cf8d46c 100644 --- a/src/components/Portal/noteComment.vue +++ b/src/components/Portal/noteComment.vue @@ -188,6 +188,7 @@ }, data() { return { + replyLoading:false, radio:1, value:false, sex:null, @@ -479,6 +480,10 @@ this.replyInfo.parentId=''; }, submitReply(comment){ + if(this.replyLoading) { + return + } + this.replyLoading = true; this.replyInfo.content = this.replyInfo.content.trim(); if(this.replyInfo.content==''){ return; @@ -492,6 +497,7 @@ // comment.replyList=[]; // } apiComment.add(this.replyInfo).then(res=>{ + this.replyLoading = false; if(res.status==200){ res.result.sex = null; res.result.isAll=false;