refactor: 图片/文件上传都支持拖拽

This commit is contained in:
dap
2025-03-30 12:32:58 +08:00
parent 621f79e7d8
commit b9843c6faf
4 changed files with 17 additions and 8 deletions

View File

@@ -86,7 +86,12 @@ function customAccept(accept: string) {
:max-count="3"
:enable-drag-upload="true"
/>
当前绑定值: {{ multipleFileId }}
<ImageUpload
class="mt-3"
v-model:value="multipleImageId"
:enable-drag-upload="true"
:max-count="6"
/>
</Card>
<Card title="禁用上传" size="small">