refactor(router): 调整登录日志路由路径位置

- 将登录日志路由从用户中心模块迁移到iframe模块
- 确保登录日志路由保持身份验证和权限设置不变
- 优化路由结构,增强模块划分清晰度
This commit is contained in:
danial
2025-11-14 22:51:03 +08:00
parent b82dab01d0
commit f8a0ce8f29
2 changed files with 10 additions and 10 deletions

View File

@@ -255,6 +255,16 @@ const IFRAME: AppRouteRecordRaw = {
requiresAuth: false, requiresAuth: false,
roles: ['*'] roles: ['*']
} }
},
{
path: 'login-log',
name: 'LoginLog',
component: () => import('@/views/user-center/login-log/index.vue'),
meta: {
locale: '登录日志',
requiresAuth: true,
roles: ['*']
}
} }
] ]
}; };

View File

@@ -22,16 +22,6 @@ const DASHBOARD: AppRouteRecordRaw = {
requiresAuth: true, requiresAuth: true,
roles: ['*'] roles: ['*']
} }
},
{
path: 'login-log',
name: 'LoginLog',
component: () => import('@/views/user-center/login-log/index.vue'),
meta: {
locale: '登录日志',
requiresAuth: true,
roles: ['*']
}
} }
] ]
}; };