From 2e4949497bfc1078c71f4110dbc8fff9e087cd68 Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Thu, 30 Oct 2025 11:27:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96Upload=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Upload/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,