瀏覽代碼

bug 修复

lilei 3 年之前
父節點
當前提交
3d26f67d90
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 = []
       }
     },