update 依赖整体升级

This commit is contained in:
疯狂的狮子Li 2026-06-29 13:36:54 +08:00
parent 8f217a2cc8
commit b4f5fe82a2
5 changed files with 1450 additions and 1205 deletions

View File

@ -17,18 +17,18 @@
"start": "cross-env UMI_ENV=development MOCK=none BABEL_POLYFILL=none max dev" "start": "cross-env UMI_ENV=development MOCK=none BABEL_POLYFILL=none max dev"
}, },
"dependencies": { "dependencies": {
"@ant-design/icons": "^6.2.5", "@ant-design/icons": "^6.3.2",
"@ant-design/pro-components": "3.1.12-0", "@ant-design/pro-components": "3.1.12-0",
"@ant-design/x": "^2.7.0", "@ant-design/x": "^2.8.0",
"@iconify/react": "^6.0.2", "@iconify/react": "^6.0.2",
"@tanstack/react-query": "^5.101.0", "@tanstack/react-query": "^5.101.2",
"@umijs/max": "^4.6.61", "@umijs/max": "^4.6.68",
"@wangeditor-next/editor": "^5.7.10", "@wangeditor-next/editor": "^5.7.13",
"@wangeditor-next/editor-for-react": "^2.0.2", "@wangeditor-next/editor-for-react": "^2.0.3",
"ahooks": "^3.9.7", "ahooks": "^3.9.7",
"antd": "^6.4.3", "antd": "^6.5.0",
"antd-style": "^4.1.0", "antd-style": "^4.1.0",
"axios": "1.17.0", "axios": "1.18.1",
"browser-image-compression": "^2.0.2", "browser-image-compression": "^2.0.2",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"crypto-js": "4.2.0", "crypto-js": "4.2.0",
@ -39,7 +39,7 @@
"nprogress": "0.2.0", "nprogress": "0.2.0",
"react": "^19.2.7", "react": "^19.2.7",
"react-dom": "^19.2.7", "react-dom": "^19.2.7",
"react-easy-crop": "^5.5.7", "react-easy-crop": "^6.0.2",
"react-json-view-lite": "^2.5.0", "react-json-view-lite": "^2.5.0",
"react-syntax-highlighter": "^16.1.1", "react-syntax-highlighter": "^16.1.1",
"screenfull": "^6.0.2", "screenfull": "^6.0.2",
@ -47,16 +47,16 @@
}, },
"devDependencies": { "devDependencies": {
"@types/crypto-js": "4.2.2", "@types/crypto-js": "4.2.2",
"@types/node": "^25.9.2", "@types/node": "^26.0.1",
"@types/nprogress": "0.2.3", "@types/nprogress": "0.2.3",
"@types/react": "^19.2.17", "@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3", "@types/react-dom": "^19.2.3",
"@types/react-syntax-highlighter": "^15.5.13", "@types/react-syntax-highlighter": "^15.5.13",
"@umijs/lint": "^4.6.61", "@umijs/lint": "^4.6.68",
"@umijs/max-plugin-openapi": "^2.0.3", "@umijs/max-plugin-openapi": "^2.0.3",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"oxfmt": "^0.53.0", "oxfmt": "^0.56.0",
"oxlint": "^1.68.0", "oxlint": "^1.71.0",
"typescript": "^6.0.3" "typescript": "^6.0.3"
}, },
"engines": { "engines": {

2586
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -214,7 +214,7 @@ export default function MonitorOperlogPage() {
<Descriptions <Descriptions
column={1} column={1}
bordered bordered
labelStyle={{ width: 110 }} styles={{ label: { width: 110 } }}
items={[ items={[
{ {
key: 'status', key: 'status',

View File

@ -245,16 +245,24 @@ export default function SystemNoticePage() {
<Modal title="公告详情" open={detailOpen} width={820} footer={null} onCancel={closeDetail}> <Modal title="公告详情" open={detailOpen} width={820} footer={null} onCancel={closeDetail}>
<div className="notice-detail"> <div className="notice-detail">
<h2>{detail?.noticeTitle || '-'}</h2> <h2>{detail?.noticeTitle || '-'}</h2>
<Descriptions column={2} size="small"> <Descriptions
<Descriptions.Item label="类型"> column={2}
<DictTag options={dicts.sys_notice_type} value={detail?.noticeType} /> size="small"
</Descriptions.Item> items={[
<Descriptions.Item label="状态"> {
<DictTag options={dicts.sys_notice_status} value={detail?.status} /> key: 'noticeType',
</Descriptions.Item> label: '类型',
<Descriptions.Item label="创建者">{detail?.createByName || '-'}</Descriptions.Item> children: <DictTag options={dicts.sys_notice_type} value={detail?.noticeType} />
<Descriptions.Item label="创建时间">{detail?.createTime || '-'}</Descriptions.Item> },
</Descriptions> {
key: 'status',
label: '状态',
children: <DictTag options={dicts.sys_notice_status} value={detail?.status} />
},
{ key: 'createByName', label: '创建者', children: detail?.createByName || '-' },
{ key: 'createTime', label: '创建时间', children: detail?.createTime || '-' }
]}
/>
<SafeHtmlContent html={safeNoticeContent} /> <SafeHtmlContent html={safeNoticeContent} />
</div> </div>
</Modal> </Modal>

View File

@ -71,10 +71,15 @@ export default function UserAuthRolePage() {
return ( return (
<PageContainer title="分配角色"> <PageContainer title="分配角色">
<Descriptions bordered column={2} style={{ marginBottom: 16 }}> <Descriptions
<Descriptions.Item label="用户昵称">{user?.nickName}</Descriptions.Item> bordered
<Descriptions.Item label="登录账号">{user?.userName}</Descriptions.Item> column={2}
</Descriptions> style={{ marginBottom: 16 }}
items={[
{ key: 'nickName', label: '用户昵称', children: user?.nickName },
{ key: 'userName', label: '登录账号', children: user?.userName }
]}
/>
<ProTable<RoleVO> <ProTable<RoleVO>
loading={loading} loading={loading}
rowKey="roleId" rowKey="roleId"