🔱: [client] sync upgrade with 2 commits [trident-sync]

fix: 修复当limit=1时,上传文件删光后,再选择文件上传第一次无效的bug

https://github.com/fast-crud/fast-crud/issues/166
pull/14/head
GitHub Actions Bot 2023-03-23 19:24:01 +00:00
parent 040b2e8a53
commit b9dd4a35db
1 changed files with 2 additions and 2 deletions

View File

@ -217,12 +217,12 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti
type: "file-uploader",
form: {
component: {
limit: 2,
limit: 1,
uploader: {
type: "form"
}
},
helper: "最大可上传2个文件"
helper: "最大可上传1个文件"
}
},
sizeLimit: {