mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-10-12 04:43:42 +08:00
refactor(projects): 单独路由逻辑重构、路由转换函数优化
This commit is contained in:
@@ -19,7 +19,7 @@ const routes: AuthRoute.Route[] = [
|
||||
path: '/dashboard/workbench',
|
||||
component: 'self',
|
||||
meta: {
|
||||
title: '分析页',
|
||||
title: '工作台',
|
||||
permissions: ['super', 'admin']
|
||||
}
|
||||
}
|
||||
@@ -33,12 +33,12 @@ const routes: AuthRoute.Route[] = [
|
||||
{
|
||||
name: 'about',
|
||||
path: '/about',
|
||||
component: 'layout',
|
||||
component: 'self',
|
||||
meta: {
|
||||
title: '关于',
|
||||
singleLayout: 'layout',
|
||||
permissions: ['super', 'admin', 'test'],
|
||||
icon: 'fluent:book-information-24-regular',
|
||||
single: true
|
||||
icon: 'fluent:book-information-24-regular'
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user