mirror of https://github.com/certd/certd
🔱: [client] sync upgrade with 2 commits [trident-sync]
fix: 修复当limit=1时,上传文件删光后,再选择文件上传第一次无效的bug https://github.com/fast-crud/fast-crud/issues/166pull/14/head
parent
040b2e8a53
commit
b9dd4a35db
|
@ -217,12 +217,12 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti
|
||||||
type: "file-uploader",
|
type: "file-uploader",
|
||||||
form: {
|
form: {
|
||||||
component: {
|
component: {
|
||||||
limit: 2,
|
limit: 1,
|
||||||
uploader: {
|
uploader: {
|
||||||
type: "form"
|
type: "form"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
helper: "最大可上传2个文件"
|
helper: "最大可上传1个文件"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
sizeLimit: {
|
sizeLimit: {
|
||||||
|
|
Loading…
Reference in New Issue