mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-04-09 20:43:16 +08:00
chore: remove logic
This commit is contained in:
@@ -123,9 +123,9 @@ const gridOptions: VxeGridProps = {
|
|||||||
title: '操作',
|
title: '操作',
|
||||||
width: 100,
|
width: 100,
|
||||||
slots: {
|
slots: {
|
||||||
default: ({ $table }) => {
|
default: ({ $table, row }) => {
|
||||||
function handleDelete() {
|
function handleDelete() {
|
||||||
$table.removeCurrentRow();
|
$table.remove(row);
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Button danger={true} onClick={handleDelete} size={'small'}>
|
<Button danger={true} onClick={handleDelete} size={'small'}>
|
||||||
|
|||||||
Reference in New Issue
Block a user