From 60261374acb99f64298c724e1f8d1df3061bd85a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=8F=E5=AD=90=E8=94=B7=E8=96=87?= <47841841+quantum-rose@users.noreply.github.com> Date: Fri, 13 Jun 2025 12:33:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20wd-upload=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E7=9A=84=20formData=20=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E7=9A=84=20ts=20=E7=B1=BB=E5=9E=8B=E4=B8=BA=20void=20=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20(#1106)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/uni_modules/wot-design-uni/components/wd-upload/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uni_modules/wot-design-uni/components/wd-upload/types.ts b/src/uni_modules/wot-design-uni/components/wd-upload/types.ts index 6cc93d9f..fe0f60a3 100644 --- a/src/uni_modules/wot-design-uni/components/wd-upload/types.ts +++ b/src/uni_modules/wot-design-uni/components/wd-upload/types.ts @@ -215,7 +215,7 @@ export const uploadProps = { * 类型:object * 默认值:{} */ - formData: { type: Object as PropType, default: () => {} }, + formData: { type: Object as PropType, default: () => ({}) }, /** * 预览失败执行操作 * 类型:function({index,imgList})