refactor(@vben/access): 重构路由的重定向逻辑
@vben-core/shared @vben/playground @vben/backend-mock @vben/web-antd @vben/web-antdv-next @vben/web-ele @vben/naive @vben/tdesign
This commit is contained in:
@@ -14,7 +14,7 @@ const routes: RouteRecordRaw[] = [
|
||||
children: [
|
||||
{
|
||||
name: 'Analytics',
|
||||
path: '/analytics',
|
||||
path: 'analytics',
|
||||
component: () => import('#/views/dashboard/analytics/index.vue'),
|
||||
meta: {
|
||||
affixTab: true,
|
||||
@@ -24,7 +24,7 @@ const routes: RouteRecordRaw[] = [
|
||||
},
|
||||
{
|
||||
name: 'Workspace',
|
||||
path: '/workspace',
|
||||
path: 'workspace',
|
||||
component: () => import('#/views/dashboard/workspace/index.vue'),
|
||||
meta: {
|
||||
icon: 'carbon:workspace',
|
||||
|
||||
Reference in New Issue
Block a user