diff --git a/comps/form/field/table-edit/TableEdit.tsx b/comps/form/field/table-edit/TableEdit.tsx index 7a17d31..d65c10d 100755 --- a/comps/form/field/table-edit/TableEdit.tsx +++ b/comps/form/field/table-edit/TableEdit.tsx @@ -144,13 +144,13 @@ export const TableEdit: FC<{ }} fm_parent={parent} ext_fm={{ + idx: props.rowIdx, change: () => {}, remove: () => { - console.log(props); - // fm.data[name] = tbl.data.filter( - // (e: any) => e !== props.row - // ); - // fm.render(); + fm.data[name] = tbl.data.filter( + (e: any) => e !== props.row + ); + fm.render(); }, add: (e: any) => { tbl.data.push(e ? e : {});