| | |
| | | this.showReplyMsgInfo = true; |
| | | this.replyHolder = "@" + this.msgInfo.useName; |
| | | }, |
| | | send(articleId) { |
| | | console.log(this.msgInfo); |
| | | send() { |
| | | console.log(11); |
| | | if (this.form.nickName === "") { |
| | | this.$message.info("怎么称呼..") |
| | | return |
| | |
| | | res = false; |
| | | } |
| | | }); |
| | | |
| | | var articleId=this.$attrs.articleId; |
| | | let commentType = (articleId == null || articleId == undefined) ? 1 : 2; |
| | | this.isSending = true; |
| | | |
| | |
| | | "commentContent": this.form.visitorContent, |
| | | }).then((res) => { |
| | | this.isSending = false; |
| | | console.log(111); |
| | | if (res.code == 200) { |
| | | console.log(111); |
| | | this.$message.info("已送达,审核通过后显示..") |
| | | this.$emit("sendMsg"); |
| | | this.$message.info("信息已送达..") |
| | | } else { |
| | | this.$notification.error({ |
| | | message: '好像哪里不对劲..', |