Parcourir la source

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

zhangxc il y a 6 ans
Parent
commit
339757e6ff
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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);