浏览代码

修改填写单类型初始化非公共数据

zhangxc 6 年之前
父节点
当前提交
339757e6ff
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/components/icss/PubIndeptTag.vue

+ 4 - 0
src/components/icss/PubIndeptTag.vue

@@ -366,6 +366,10 @@
           this.form.region2 = '';
           this.labelTypes = this.labelTypesList.filter(item => this.labelTypesMaps[tmpData].indexOf(item.val) > -1)
           
+        }
+        if(type === 2) {
+          this.initForm()
+          
         }
         //console.log(tmpData)
         this.changeSex(tmpData);