路由优化

This commit is contained in:
2026-01-15 09:30:38 +08:00
parent 7065e5329a
commit bb1ed16d8b
9 changed files with 384 additions and 315 deletions

View File

@@ -1,5 +1,7 @@
export default {
app_title: 'vueadmin',
DASHBOARD_URL: '/home',
baseURL: ''
baseURL: '',
// 白名单路由(不需要登录即可访问)
whiteList: ['/login', '/register', '/reset-password']
}

View File

@@ -1,5 +1,5 @@
/**
* 用户静态路由配置
* 静态路由配置
* 这些路由会根据用户角色进行过滤后添加到路由中
*/
const userRoutes = [