refactor: 优化权限管理与登录流程,修复细节问题

1.  调整仪表盘图标从DeviceOutlined为MonitorOutlined
2.  新增403无权访问页面与路由配置
3.  完善权限存储与路由守卫逻辑
4.  修复用户信息获取与token持久化问题
5.  补充普通管理员权限初始化与补丁脚本
6.  优化后端用户服务与认证控制器逻辑
7.  调整登录表单交互与请求流程
This commit is contained in:
andyesfly committed 2026-05-28 16:25:26 +08:00
1 parent 3d7eb12103
commit 2534723842
9 files changed
+259 -50

No files matched your search

+3 -3
View File
@@ -121,7 +121,7 @@ import {
message,
} from 'ant-design-vue';
import {
DeviceOutlined,
MonitorOutlined,
CheckCircleOutlined,
AlertOutlined,
TeamOutlined,
@@ -149,7 +149,7 @@ const statCards = [
{
key: 'deviceTotal',
title: '设备总数',
icon: markRaw(DeviceOutlined),
icon: markRaw(MonitorOutlined),
color: '#1890ff',
iconBg: '#e6f7ff',
},
@@ -603,4 +603,4 @@ function getActivityColor(module: string): string {
}
}
}
</style>
</style>