[bugfix] Area: 修复初始化概率性失败

This commit is contained in:
rex 2019-02-28 10:28:24 +08:00 committed by GitHub
parent e04680e098
commit e73e007673
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() {