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