fix(ui): antd nested form bugs

This commit is contained in:
Fu Diwei
2025-01-06 19:10:29 +08:00
parent 4ba7237326
commit 87e1749553
60 changed files with 1694 additions and 1358 deletions

View File

@@ -48,7 +48,7 @@ const MultipleInput = ({
});
const handleCreate = () => {
const newValue = produce(value, (draft) => {
const newValue = produce(value ?? [], (draft) => {
draft.push("");
});
setValue(newValue);