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

@ -4,6 +4,8 @@
- `withDefaultPlaceholder`中将`placeholder`修改为computed, 解决后续使用`updateSchema`无法正常更新显示placeholder(响应式问题)
- 流程定义 修改accept类型 解决无法拖拽上传
**FEATURES**
- 增加`环境变量`打包配置demo -> build:antd:test

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]" />