Explorar o código

模板参数修改

Luolei %!s(int64=6) %!d(string=hai) anos
pai
achega
69046674b1
Modificáronse 1 ficheiros con 8 adicións e 8 borrados
  1. 8 8
      src/components/icss/PubTemplateGroup.vue

+ 8 - 8
src/components/icss/PubTemplateGroup.vue

@@ -145,10 +145,10 @@ export default {
       if(newVal != preVal){
         if(newVal == 1){
           let tmpDeptDTOS = this.deptDis.deptDTOS
-          let obj = {id:-1,name:'通用'}
-          if(tmpDeptDTOS[0].id != 0){
-            tmpDeptDTOS.unshift(obj)
-          }
+          // let obj = {id:-1,name:'通用'}
+          // if(tmpDeptDTOS[0].id != 0){
+          //   tmpDeptDTOS.unshift(obj)
+          // }
           this.sonLis = tmpDeptDTOS
           if(!this.form.id){
             this.form.region4 = ''
@@ -156,10 +156,10 @@ export default {
           }
         }else if(newVal == 2){
           let tmpDisDTOS = this.deptDis.disDTOS
-          let obj = {id:-1,name:'通用'}
-          if(tmpDisDTOS[0].id != 0){
-            tmpDisDTOS.unshift(obj)
-          }
+          // let obj = {id:-1,name:'通用'}
+          // if(tmpDisDTOS[0].id != 0){
+          //   tmpDisDTOS.unshift(obj)
+          // }
           this.sonLis = tmpDisDTOS
           if(!this.form.id){
             this.form.region4 = ''