Compare commits
1 Commits
66aae218f3
...
bff92667f4
| Author | SHA1 | Date | |
|---|---|---|---|
| bff92667f4 |
@@ -161,7 +161,13 @@ export const List = () => {
|
|||||||
icon={<LinkOutlined />}></Button>
|
icon={<LinkOutlined />}></Button>
|
||||||
<Button
|
<Button
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
|
Modal.confirm({
|
||||||
|
title: 'Delete',
|
||||||
|
content: 'Are you sure delete this data?',
|
||||||
|
onOk: () => {
|
||||||
demoStore.deleteData(item.id);
|
demoStore.deleteData(item.id);
|
||||||
|
},
|
||||||
|
});
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}}
|
}}
|
||||||
icon={<DeleteOutlined />}></Button>
|
icon={<DeleteOutlined />}></Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user