From 32f4b0e1bc90e22628c4049f00c59e427e61d504 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Thu, 14 Aug 2025 15:43:30 +0800 Subject: [PATCH] perf: antd->5.27.0 --- package.json | 2 +- src/views/account/RoleList.jsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 3d42878..33d3bf3 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "dependencies": { "@ant-design/icons": "^5.5.1", "@react-pdf/renderer": "^3.4.0", - "antd": "^5.25.2", + "antd": "^5.27.0", "dayjs": "^1.11.13", "docx": "^8.5.0", "file-saver": "^2.0.5", diff --git a/src/views/account/RoleList.jsx b/src/views/account/RoleList.jsx index 6cc7dc6..5b6697b 100644 --- a/src/views/account/RoleList.jsx +++ b/src/views/account/RoleList.jsx @@ -3,7 +3,7 @@ import { PERM_ROLE_NEW } from '@/config' import useAccountStore, { fetchPermissionList, fetchPermissionListByRoleId, fetchRoleList } from '@/stores/Account' import { isEmpty } from '@/utils/commons' import { - SyncOutlined, + PushpinTwoTone, } from '@ant-design/icons' import { App, Button, Col, Form, Input, Modal, Row, Space, Table, Tag, TreeSelect, Typography } from 'antd' import dayjs from 'dayjs' @@ -34,7 +34,7 @@ function RoleList() { function actionRender(_, role) { if (role.role_id == 1) { - return (} color='warning'>不能修改) + return () } else { return (