[bug fix] Area: 修复当columns-num等于2时,设置value,第一项省级永远显示北京市

* 修复area组件,当columns-num等于2时,设置value,第一项省级永远显示北京市
This commit is contained in:
yutty 2019-08-20 20:41:10 +08:00 committed by rex
parent 366d1e6c4c
commit 2241cdd4c3
2 changed files with 6 additions and 2 deletions

4
dist/area/index.js vendored
View File

@ -26,7 +26,9 @@ VantComponent({
}
},
mounted() {
this.setValues();
setTimeout(() => {
this.setValues()
}, 0)
},
methods: {
getPicker() {

View File

@ -44,7 +44,9 @@ VantComponent({
},
mounted() {
this.setValues();
setTimeout(()=>{
this.setValues()
}, 0)
},
methods: {