diff --git a/src/pages/department/index.tsx b/src/pages/department/index.tsx index 569f3bd..54f9663 100644 --- a/src/pages/department/index.tsx +++ b/src/pages/department/index.tsx @@ -155,7 +155,7 @@ export const DepartmentPage: React.FC = () => { class="mr-16" icon={} p="department-store" - onClick={() => console.log("ok")} + onClick={() => null} /> diff --git a/src/pages/system/administrator/index.tsx b/src/pages/system/administrator/index.tsx index 174d9be..a6bf9e5 100644 --- a/src/pages/system/administrator/index.tsx +++ b/src/pages/system/administrator/index.tsx @@ -15,6 +15,7 @@ import { PlusOutlined, ReloadOutlined } from "@ant-design/icons"; import { adminUser } from "../../../api/index"; import { dateFormat } from "../../../utils/index"; import { Link, useNavigate } from "react-router-dom"; +import { PerButton } from "../../../compenents"; interface DataType { id: React.Key; @@ -74,16 +75,16 @@ export const SystemAdministratorPage: React.FC = () => { width: 160, render: (_, record) => ( - + /> { okText="确定" cancelText="取消" > - + null} + /> ), @@ -123,7 +129,6 @@ export const SystemAdministratorPage: React.FC = () => { setRefresh(!refresh); }; - const paginationProps = { current: page, //当前页码 pageSize: size, @@ -186,9 +191,14 @@ export const SystemAdministratorPage: React.FC = () => { style={{ textDecoration: "none" }} to={`/system/administrator/create`} > - + } + p="admin-user-store" + onClick={() => null} + />