增加多个图片上传组件

This commit is contained in:
ctw committed 2024-12-24 17:03:23 +08:00
1 parent 56673efb64
commit 1c32f3a632
7 files changed
+484 -195

No files matched your search

+4 -4
View File
@@ -71,8 +71,8 @@ interface UploadFileProps {
width?: string; // 组件宽度 ==> 非必传(默认为 150px)
borderRadius?: string; // 组件边框圆角 ==> 非必传(默认为 8px)
iconSize?: number;
dir?: string; // 文件目录
listType:string;
dir?: string; // 文件目录
listType: string;
}
// 接受父组件参数
@@ -86,8 +86,8 @@ const props = withDefaults(defineProps<UploadFileProps>(), {
height: '150px',
width: '150px',
borderRadius: '8px',
dir: '',
listType:''
dir: '',
listType: '',
});
// 生成组件唯一id