inleft
2022-08-30 271ca6cb0ee2ff0a789bf74d1821e7891a7043bb
src/components/mini/box13-reply.vue
@@ -31,9 +31,10 @@
            <span v-html="parseContent(msgInfo.userComment).replace(/\n/g, '<br>')"></span>
         </div>
      </div>
      <a-comment>
      <a-comment style="min-height: 320px;">
         <div slot="content">
            <MyOwO :content.sync="form.visitorContent" :replyHolder="replyHolder"></MyOwO>
            <MyTextarea :content.sync="form.visitorContent" :replyHolder="replyHolder"></MyTextarea>
            <div>
               <a-button html-type="submit" type="primary" @click="send()" v-if="!showReplyMsgInfo"
                  :disabled="isSending || $attrs.isAllowedComment==0">
@@ -66,12 +67,12 @@
   } from '../../api/blogArticleComment.js'
   import md5 from 'js-md5';
   import MyOwO from '../common/OwO.vue'
   import MyTextarea from '../common/MyTextarea.vue'
   import myConstant from "../../config/myConstant.js"
   export default {
      components: {
         MyOwO
         MyTextarea
      },
      props: {
         parseContent: {
@@ -80,9 +81,6 @@
         }
      },
      methods: {
         // getTargetArea() {
         //    return this.$refs.targetArea;
         // },
         getMsgInfo(param) {
            this.msgInfo = param;
            this.showReplyMsgInfo = true;
@@ -118,6 +116,13 @@
            if (this.form.nickName == 'inleft' || this.form.nickName == '笔墨' || this.form.nickName == '阿墨') {
               if (this.form.authCode == null || this.form.authCode == "") {
                  this.$message.info("此名称在这里使用需要正确的授权码..")
                  return
               }
            }
            if (this.form.eMail == 'inleft@qq.com') {
               if (this.form.authCode == null || this.form.authCode == "") {
                  this.$message.info("此邮箱在这里使用需要正确的授权码..")
                  return
               }
            }
@@ -237,7 +242,7 @@
               "eMail": [{
                  trigger: 'blur',
                  pattern: /^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/,
                  message: '你这邮箱有问题??'
                  message: '这邮箱格式?没见过呀..'
               }, {
                  trigger: 'blur',
                  max: 50,