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