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