Luolei hace 6 años
padre
commit
699461c5c6
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      src/components/icss/PubTemplateGroup.vue

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

@@ -172,18 +172,18 @@ export default {
         }else{
           this.sonLis = []
           if(!this.form.id){
-            this.getTypes()
             this.form.region4 = ''
             this.form.region1 = ''
+            this.getTypes()
           }
         }
       }
     },
     tmpOwnTo(newVal, preVal){
-      if(newVal != preVal){
+      if(newVal&&newVal != preVal){
           if(!this.form.id){
-            this.getTypes()
             this.form.region1 = ''
+            this.getTypes()
           }
           if(this.form.isCopy){
             this.getTypes('copy')