fix: 修改accept类型 解决无法拖拽上传

This commit is contained in:
dap
2025-03-21 10:31:22 +08:00
parent 949004c67f
commit f3e455c8d3
2 changed files with 3 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ function handleCancel() {
:before-upload="() => false"
:max-count="1"
:show-upload-list="true"
accept="text/json"
accept="application/json"
>
<p class="ant-upload-drag-icon flex items-center justify-center">
<InBoxIcon class="text-primary size-[48px]" />