mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[bugfix] Area: 修复初始化概率性失败
This commit is contained in:
parent
e04680e098
commit
e73e007673
@ -163,15 +163,15 @@ VantComponent({
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
stack.push(
|
return Promise.all(stack)
|
||||||
|
.then(() =>
|
||||||
picker.setIndexes([
|
picker.setIndexes([
|
||||||
this.getIndex('province', code),
|
this.getIndex('province', code),
|
||||||
this.getIndex('city', code),
|
this.getIndex('city', code),
|
||||||
this.getIndex('county', code)
|
this.getIndex('county', code)
|
||||||
])
|
])
|
||||||
);
|
)
|
||||||
|
.catch(() => {});
|
||||||
return Promise.all(stack).catch(() => {});
|
|
||||||
},
|
},
|
||||||
|
|
||||||
getValues() {
|
getValues() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user