form清空表单
const handleClear = (index: any) => {
form.setFieldsValue({
[`overlayLength-${index}`]: null,
[`layers-${index}`]: null,
[`colorId-${index}`]: null,
[`batchCode-${index}`]: null,
[`clothLength-${index}`]: null,
})
}
微信扫一扫
form清空表单
const handleClear = (index: any) => {
form.setFieldsValue({
[`overlayLength-${index}`]: null,
[`layers-${index}`]: null,
[`colorId-${index}`]: null,
[`batchCode-${index}`]: null,
[`clothLength-${index}`]: null,
})
}
相关推荐