Skip to content

Commit

Permalink
Merge pull request #3463 from KouShenhai/dev
Browse files Browse the repository at this point in the history
feat: 完成前端react页面【菜单管理】
  • Loading branch information
KouShenhai authored Feb 1, 2025
2 parents bfe6e85 + 90158e7 commit 8e48b9b
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion ui/src/pages/Sys/Permission/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {TableRowSelection} from "antd/es/table/interface";
import {Button, message, Modal} from 'antd';
import { DeleteOutlined, PlusOutlined } from '@ant-design/icons';
import {v7 as uuidV7} from 'uuid';
import {clearToken} from "@/access";

export default () => {

Expand Down Expand Up @@ -179,6 +178,25 @@ export default () => {
}}
>
修改
</a>,
<a key="remove" onClick={() => {
Modal.confirm({
title: '确认删除?',
content: '您确定要删除吗?',
okText: '确认',
cancelText: '取消',
onOk: () => {
removeV3([record?.id]).then(res => {
if (res.code === 'OK') {
message.success("删除成功").then()
// @ts-ignore
actionRef?.current?.reload();
}
})
}
})
}}>
删除
</a>
],
},
Expand Down

0 comments on commit 8e48b9b

Please sign in to comment.