Skip to content

Commit d9ce000

Browse files
fix: 🐛 调整 Upload 的覆盖上传参数 reupload 默认值为 false
1 parent cff4228 commit d9ce000

File tree

1 file changed

+2
-1
lines changed
  • src/uni_modules/wot-design-uni/components/wd-upload

1 file changed

+2
-1
lines changed

src/uni_modules/wot-design-uni/components/wd-upload/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,9 @@ export const uploadProps = {
320320
/**
321321
* 点击已上传时是否可以重新上传
322322
* 类型:boolean
323+
* 默认值:false
323324
*/
324-
reupload: makeBooleanProp(true),
325+
reupload: makeBooleanProp(false),
325326
/**
326327
* 自定义上传文件的请求方法
327328
* 类型:UploadMethod

0 commit comments

Comments
 (0)