fix: 修改accept类型 解决无法拖拽上传
This commit is contained in:
@@ -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]" />
|
||||
|
Reference in New Issue
Block a user