优化Upload组件
							parent
							
								
									775cac06f5
								
							
						
					
					
						commit
						2e4949497b
					
				|  | @ -11,8 +11,8 @@ const Upload = (props) => { | ||||||
|     onChange, |     onChange, | ||||||
|     onPreview, |     onPreview, | ||||||
|     maxCount = 1, |     maxCount = 1, | ||||||
|     listType = "text", |     listType = "picture-card", | ||||||
|     accept = "", |     accept = ["picture-card", "picture-circle", "picture"].includes(listType) ? ".jpg,.jpeg,.png" : "", | ||||||
|     ratio = "", |     ratio = "", | ||||||
|     showTip = true, |     showTip = true, | ||||||
|     multiple = true, |     multiple = true, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue