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;