inleft
2022-03-02 846bd0e9adb70bb23778045ee1a252a6a58adc4f
src/components/mini/box13-reply.vue
@@ -59,13 +59,14 @@
   } from '../../api/blogArticleComment.js'
   export default {
      props: ["articleId"],
      methods: {
         getMsgInfo(param) {
            this.msgInfo = param;
            this.showReplyMsgInfo = true;
            this.replyHolder = "@" + this.msgInfo.useName;
         },
         send(articleId) {
         send() {
            console.log(this.msgInfo);
            if (this.form.nickName === "") {
               this.$message.info("怎么称呼..")
@@ -87,6 +88,8 @@
                  res = false;
               }
            });
            var articleId=this.$attrs.acticleId;
            console.log(articleId);
            let commentType = (articleId == null || articleId == undefined) ? 1 : 2;
            this.isSending = true;
@@ -106,9 +109,7 @@
               "commentContent": this.form.visitorContent,
            }).then((res) => {
               this.isSending = false;
               console.log(111);
               if (res.code == 200) {
                  console.log(111);
                  this.$message.info("已送达,审核通过后显示..")
               } else {
                  this.$notification.error({
@@ -193,8 +194,9 @@
<style lang="less">
   .replyMsgInfo {
      display: flex;
      border-radius: 4px;
      box-shadow: 0px 9px 10px 0 rgba(0, 0, 0, 0.24), 1px 3px 15px 0 rgba(0, 0, 0, 0.19);
      padding: 20px 20px;
      padding: 20px 25px 20px;
      margin-left: 15px;
      margin-top: 10px;
   }