diff --git a/docs/src/en/guide/in-depth/access.md b/docs/src/en/guide/in-depth/access.md index 545dddab..72aa272d 100644 --- a/docs/src/en/guide/in-depth/access.md +++ b/docs/src/en/guide/in-depth/access.md @@ -122,12 +122,12 @@ const dashboardMenus = [ title: 'page.dashboard.title', }, name: 'Dashboard', - path: '/', - redirect: '/analytics', + path: '/dashboard', + redirect: '/dashboard/analytics', children: [ { name: 'Analytics', - path: '/analytics', + path: 'analytics', // Here is the path of the page, need to remove 'views/' and '.vue' component: '/dashboard/analytics/index', meta: { @@ -137,7 +137,7 @@ const dashboardMenus = [ }, { name: 'Workspace', - path: '/workspace', + path: 'workspace', component: '/dashboard/workspace/index', meta: { title: 'page.dashboard.workspace', diff --git a/docs/src/guide/in-depth/access.md b/docs/src/guide/in-depth/access.md index bbce30a2..5de49b2a 100644 --- a/docs/src/guide/in-depth/access.md +++ b/docs/src/guide/in-depth/access.md @@ -120,12 +120,12 @@ const dashboardMenus = [ title: 'page.dashboard.title', }, name: 'Dashboard', - path: '/', - redirect: '/analytics', + path: '/dashboard', + redirect: '/dashboard/analytics', children: [ { name: 'Analytics', - path: '/analytics', + path: 'analytics', // 这里为页面的路径,需要去掉 views/ 和 .vue component: '/dashboard/analytics/index', meta: { @@ -135,7 +135,7 @@ const dashboardMenus = [ }, { name: 'Workspace', - path: '/workspace', + path: 'workspace', component: '/dashboard/workspace/index', meta: { title: 'page.dashboard.workspace',