Parcourir la source

判断企业名称是否存在处理后台报异常时不显示问号图标和提示

hangb il y a 8 ans
Parent
commit
9823c1ca2e
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      components/register/EnterpriseRegistration.vue

+ 2 - 1
components/register/EnterpriseRegistration.vue

@@ -46,7 +46,8 @@
                         placeholder="企业名称"
                         placeholder="企业名称"
               ></el-input>
               ></el-input>
               <span class="tip exist" v-show="isSpaceNameExist">
               <span class="tip exist" v-show="isSpaceNameExist">
-                {{spaceNameExitMsg}}<i class="fa fa-question-circle" aria-hidden="true"
+                {{spaceNameExitMsg}} <i class="fa fa-question-circle" aria-hidden="true"
+                                       v-show="spaceNameExitMsg != '出现异常'"
                                        @mouseenter='showPopTip =true'
                                        @mouseenter='showPopTip =true'
                                        @mouseleave='showPopTip = false'></i>
                                        @mouseleave='showPopTip = false'></i>
               </span>
               </span>