lilei 3 lat temu
rodzic
commit
3d26f67d90
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/common/area.js

+ 1 - 1
src/views/common/area.js

@@ -48,7 +48,7 @@ const Area = {
     value(newValue, oldValue) {
       console.log(newValue)
       this.defaultVal = newValue
-      if(this.leve != 'province' && !newValue){
+      if(this.leve != 'province' && !newValue && !this.parentId){
         this.list = []
       }
     },