mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-06 09:08:51 +08:00
fix: 修复 wd-upload 组件的 formData 属性的 ts 类型为 void 的问题 (#1106)
This commit is contained in:
parent
1938d92889
commit
60261374ac
@ -215,7 +215,7 @@ export const uploadProps = {
|
|||||||
* 类型:object
|
* 类型:object
|
||||||
* 默认值:{}
|
* 默认值:{}
|
||||||
*/
|
*/
|
||||||
formData: { type: Object as PropType<UploadFormData>, default: () => {} },
|
formData: { type: Object as PropType<UploadFormData>, default: () => ({}) },
|
||||||
/**
|
/**
|
||||||
* 预览失败执行操作
|
* 预览失败执行操作
|
||||||
* 类型:function({index,imgList})
|
* 类型:function({index,imgList})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user