Skip to content

Commit

Permalink
refactor(projects): 单独路由逻辑重构、路由转换函数优化
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Jan 5, 2022
1 parent c804b21 commit b36a62b
Show file tree
Hide file tree
Showing 45 changed files with 4,974 additions and 328 deletions.
8 changes: 4 additions & 4 deletions mock/api/route.ts
Expand Up @@ -19,7 +19,7 @@ const routes: AuthRoute.Route[] = [
path: '/dashboard/workbench',
component: 'self',
meta: {
title: '分析页',
title: '工作台',
permissions: ['super', 'admin']
}
}
Expand All @@ -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'
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -21,7 +21,7 @@
}
},
"dependencies": {
"@vueuse/core": "^7.5.1",
"@vueuse/core": "^7.5.3",
"axios": "^0.24.0",
"colord": "^2.9.2",
"crypto-js": "^4.1.1",
Expand All @@ -40,7 +40,7 @@
"@iconify/json": "^1.1.452",
"@iconify/vue": "^3.1.1",
"@types/crypto-js": "^4.1.0",
"@types/node": "^17.0.6",
"@types/node": "^17.0.8",
"@types/qs": "^6.9.7",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.9.0",
Expand Down
76 changes: 38 additions & 38 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/components/index.ts
@@ -1,4 +1,4 @@
export * from './common';
export * from './common';
export * from './custom';
export * from './svg';
export * from './common';
export * from './business';

0 comments on commit b36a62b

Please sign in to comment.