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

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

https://github.com/fast-crud/fast-crud/issues/166
This commit is contained in:
GitHub Actions Bot
2023-03-23 19:24:01 +00:00
parent 040b2e8a53
commit b9dd4a35db

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: {