提交 1e669870 作者: Vben

fix(mock): make sure the background mode login is normal, fix #452

上级 edc75251
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
- 确保面包屑正确的显示图标 - 确保面包屑正确的显示图标
- 修复 tinymce 上传按钮全屏模式下消失问题 - 修复 tinymce 上传按钮全屏模式下消失问题
- 确保 title 在重新登录后正常改变 - 确保 title 在重新登录后正常改变
- 确保后台模式登录正常
## 2.1.1 (2021-03-26) ## 2.1.1 (2021-03-26)
......
...@@ -3,11 +3,11 @@ import { MockMethod } from 'vite-plugin-mock'; ...@@ -3,11 +3,11 @@ import { MockMethod } from 'vite-plugin-mock';
// single // single
const dashboardRoute = { const dashboardRoute = {
path: '/home', path: '/dashboard',
name: 'Welcome', name: 'Welcome',
component: '/dashboard/welcome/index', component: '/dashboard/analysis/index',
meta: { meta: {
title: 'routes.dashboard.welcome', title: 'routes.dashboard.analysis',
affix: true, affix: true,
icon: 'bx:bx-home', icon: 'bx:bx-home',
}, },
......
...@@ -14,14 +14,6 @@ const dashboard: AppRouteModule = { ...@@ -14,14 +14,6 @@ const dashboard: AppRouteModule = {
}, },
children: [ children: [
{ {
path: 'workbench',
name: 'Workbench',
component: () => import('/@/views/dashboard/workbench/index.vue'),
meta: {
title: t('routes.dashboard.workbench'),
},
},
{
path: 'analysis', path: 'analysis',
name: 'Analysis', name: 'Analysis',
component: () => import('/@/views/dashboard/analysis/index.vue'), component: () => import('/@/views/dashboard/analysis/index.vue'),
...@@ -30,6 +22,14 @@ const dashboard: AppRouteModule = { ...@@ -30,6 +22,14 @@ const dashboard: AppRouteModule = {
title: t('routes.dashboard.analysis'), title: t('routes.dashboard.analysis'),
}, },
}, },
{
path: 'workbench',
name: 'Workbench',
component: () => import('/@/views/dashboard/workbench/index.vue'),
meta: {
title: t('routes.dashboard.workbench'),
},
},
], ],
}; };
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论