mirror of
https://github.com/certd/certd.git
synced 2026-04-15 05:00:52 +08:00
🔱: [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:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user