From c059f9e6c5c89cc9665d881c429543a3a09abe0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Tue, 30 May 2023 09:55:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20upload=20=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E7=9A=84=20`exts`=20=E5=B1=9E=E6=80=A7=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/upload/detail/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/upload/detail/options.md b/docs/upload/detail/options.md index 4ca03a2f..8ee3681a 100644 --- a/docs/upload/detail/options.md +++ b/docs/upload/detail/options.md @@ -149,7 +149,7 @@ acceptMime: 'image/jpeg, image/png` // 只筛选 jpg,png 格式图片 - 假设 `accept: 'file'` 类型时,那么设置 `exts: 'zip|rar|7z'` 即代表只允许上传压缩格式的文件。 -- 默认为常见图片后缀,即 `exts: 'jpg|png|gif|bmp|jpeg'` +- 默认为常见图片后缀,即 `jpg|png|gif|bmp|jpeg|svg`