refactor(projects): 单独路由逻辑重构、路由转换函数优化

This commit is contained in:
Soybean
2022-01-06 02:00:42 +08:00
parent c804b21ceb
commit b36a62b150
45 changed files with 4976 additions and 330 deletions

View File

@ -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'
}
},
{