diff --git a/comps/form/field/table-edit/TableEdit.tsx b/comps/form/field/table-edit/TableEdit.tsx index 0fbcdd1..63f916f 100755 --- a/comps/form/field/table-edit/TableEdit.tsx +++ b/comps/form/field/table-edit/TableEdit.tsx @@ -266,10 +266,17 @@ export const TableEdit: FC<{ <> {value.map((row: any, idx: number) => { return ( - + {(form) => { return ( - + {columns.map((header) => { return ( { if (Array.isArray(fm.data[name])) { - fm.data[name].push({...e}); + fm.data[name].push({ ...e }); } else { - fm.data[name] = [{...e}]; + fm.data[name] = [{ ...e }]; } - console.log("CEKK") + console.log("CEKK"); fm.render(); setTimeout(() => { const last = Array.from(