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