diff --git a/apps/web-antd/src/views/演示使用自行删除/vxe/edit-table.vue b/apps/web-antd/src/views/演示使用自行删除/vxe/edit-table.vue index 2f98339d..42355990 100644 --- a/apps/web-antd/src/views/演示使用自行删除/vxe/edit-table.vue +++ b/apps/web-antd/src/views/演示使用自行删除/vxe/edit-table.vue @@ -123,9 +123,9 @@ const gridOptions: VxeGridProps = { title: '操作', width: 100, slots: { - default: ({ $table }) => { + default: ({ $table, row }) => { function handleDelete() { - $table.removeCurrentRow(); + $table.remove(row); } return (