瀏覽代碼

化验注释掉选项直接连接词(561)

zhangxc 6 年之前
父節點
當前提交
cd4ae0589b
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/components/icss/PubIndeptTag.vue

+ 3 - 1
src/components/icss/PubIndeptTag.vue

@@ -117,6 +117,7 @@
                 ></el-input></el-col>
             </el-form-item>
             <el-form-item
+                    v-if="form.region1 != 5"
                     label="选择项之间链接:"
                     prop="region5"
             >
@@ -366,7 +367,7 @@
         if(type === 1) {
           this.form.region2 = '';
           this.labelTypes = this.labelTypesList.filter(item => this.labelTypesMaps[tmpData].indexOf(item.val) > -1)
-          
+          this.initForm()
         }
         if(type === 2) {
           this.initForm()
@@ -397,6 +398,7 @@
         this.form.suffix = ''
         this.form.minNormalVal = ''
         this.form.maxNormalVal = ''
+        this.form.region5 = ''
       },
     }
   }