feat: 自定义预览图/文件名

This commit is contained in:
dap
2025-03-30 21:57:01 +08:00
parent 755a30583f
commit 23ff03d40c
5 changed files with 121 additions and 19 deletions

View File

@@ -59,7 +59,7 @@ const {
beforeUpload,
innerFileList,
customRequest,
} = useUpload(props, emit, ossIdList);
} = useUpload(props, emit, ossIdList, 'image');
const { previewVisible, previewImage, handleCancel, handlePreview } =
useImagePreview();