diff --git a/components/Upload/index.js b/components/Upload/index.js index cd50fba..158f1af 100644 --- a/components/Upload/index.js +++ b/components/Upload/index.js @@ -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,