mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[bug fix] Area: 修复当columns-num等于2时,设置value,第一项省级永远显示北京市
* 修复area组件,当columns-num等于2时,设置value,第一项省级永远显示北京市
This commit is contained in:
parent
366d1e6c4c
commit
2241cdd4c3
4
dist/area/index.js
vendored
4
dist/area/index.js
vendored
@ -26,7 +26,9 @@ VantComponent({
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.setValues();
|
||||
setTimeout(() => {
|
||||
this.setValues()
|
||||
}, 0)
|
||||
},
|
||||
methods: {
|
||||
getPicker() {
|
||||
|
@ -44,7 +44,9 @@ VantComponent({
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.setValues();
|
||||
setTimeout(()=>{
|
||||
this.setValues()
|
||||
}, 0)
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user