This commit is contained in:
2026-01-14 14:49:08 +08:00
parent 2ce76820da
commit 7065e5329a
23 changed files with 2236 additions and 413 deletions

View File

@@ -1,4 +1,5 @@
export default {
app_title: 'vueadmin',
DASHBOARD_URL: '/home',
baseURL: ''
}

18
src/config/routes.js Normal file
View File

@@ -0,0 +1,18 @@
/**
* 用户静态路由配置
* 这些路由会根据用户角色进行过滤后添加到路由中
*/
const userRoutes = [
{
path: '/home',
name: 'home',
component: 'home',
meta: {
title: 'dashboard',
icon: 'el-icon-odometer',
role: ['admin']
}
}
]
export default userRoutes