fix
This commit is contained in:
parent
66aae218f3
commit
bff92667f4
@ -161,7 +161,13 @@ export const List = () => {
|
|||||||
icon={<LinkOutlined />}></Button>
|
icon={<LinkOutlined />}></Button>
|
||||||
<Button
|
<Button
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
demoStore.deleteData(item.id);
|
Modal.confirm({
|
||||||
|
title: 'Delete',
|
||||||
|
content: 'Are you sure delete this data?',
|
||||||
|
onOk: () => {
|
||||||
|
demoStore.deleteData(item.id);
|
||||||
|
},
|
||||||
|
});
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}}
|
}}
|
||||||
icon={<DeleteOutlined />}></Button>
|
icon={<DeleteOutlined />}></Button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user