fix
This commit is contained in:
parent
77a9c46425
commit
e255c16baf
|
|
@ -144,13 +144,13 @@ export const TableEdit: FC<{
|
||||||
}}
|
}}
|
||||||
fm_parent={parent}
|
fm_parent={parent}
|
||||||
ext_fm={{
|
ext_fm={{
|
||||||
|
idx: props.rowIdx,
|
||||||
change: () => {},
|
change: () => {},
|
||||||
remove: () => {
|
remove: () => {
|
||||||
console.log(props);
|
fm.data[name] = tbl.data.filter(
|
||||||
// fm.data[name] = tbl.data.filter(
|
(e: any) => e !== props.row
|
||||||
// (e: any) => e !== props.row
|
);
|
||||||
// );
|
fm.render();
|
||||||
// fm.render();
|
|
||||||
},
|
},
|
||||||
add: (e: any) => {
|
add: (e: any) => {
|
||||||
tbl.data.push(e ? e : {});
|
tbl.data.push(e ? e : {});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue