refactor(router): 调整登录日志路由路径位置
- 将登录日志路由从用户中心模块迁移到iframe模块 - 确保登录日志路由保持身份验证和权限设置不变 - 优化路由结构,增强模块划分清晰度
This commit is contained in:
@@ -255,6 +255,16 @@ const IFRAME: AppRouteRecordRaw = {
|
||||
requiresAuth: false,
|
||||
roles: ['*']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'login-log',
|
||||
name: 'LoginLog',
|
||||
component: () => import('@/views/user-center/login-log/index.vue'),
|
||||
meta: {
|
||||
locale: '登录日志',
|
||||
requiresAuth: true,
|
||||
roles: ['*']
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
@@ -22,16 +22,6 @@ const DASHBOARD: AppRouteRecordRaw = {
|
||||
requiresAuth: true,
|
||||
roles: ['*']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'login-log',
|
||||
name: 'LoginLog',
|
||||
component: () => import('@/views/user-center/login-log/index.vue'),
|
||||
meta: {
|
||||
locale: '登录日志',
|
||||
requiresAuth: true,
|
||||
roles: ['*']
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user