소스 검색

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 = []
       }
     },