mirror of
				https://gitee.com/vant-contrib/vant.git
				synced 2025-10-27 01:32:10 +08:00 
			
		
		
		
	docs(TimePicker): fix docs error (#11784)
This commit is contained in:
		
							parent
							
								
									e696d35bd4
								
							
						
					
					
						commit
						5e7a6a212c
					
				| @ -146,7 +146,7 @@ export default { | |||||||
| 
 | 
 | ||||||
|     const filter = (type, options) => { |     const filter = (type, options) => { | ||||||
|       if (type === 'minute') { |       if (type === 'minute') { | ||||||
|         return options.filter((option) => Number(option) % 10 === 0); |         return options.filter((option) => Number(option.value) % 10 === 0); | ||||||
|       } |       } | ||||||
|       return options; |       return options; | ||||||
|     }; |     }; | ||||||
|  | |||||||
| @ -147,7 +147,7 @@ export default { | |||||||
|     const currentTime = ref(['12', '00']); |     const currentTime = ref(['12', '00']); | ||||||
|     const filter = (type, options) => { |     const filter = (type, options) => { | ||||||
|       if (type === 'minute') { |       if (type === 'minute') { | ||||||
|         return options.filter((option) => Number(option) % 10 === 0); |         return options.filter((option) => Number(option.value) % 10 === 0); | ||||||
|       } |       } | ||||||
|       return options; |       return options; | ||||||
|     }; |     }; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user