docs: 优化左侧导航菜单 title
This commit is contained in:
parent
fa0eadd986
commit
f46f9f5091
@ -69,7 +69,7 @@ export const constantRoutes: RouteRecordRaw[] = [
|
|||||||
redirect: "/demo/unocss",
|
redirect: "/demo/unocss",
|
||||||
name: "Demo",
|
name: "Demo",
|
||||||
meta: {
|
meta: {
|
||||||
title: "示例",
|
title: "示例集合",
|
||||||
elIcon: "DataBoard"
|
elIcon: "DataBoard"
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
@ -159,7 +159,7 @@ export const constantRoutes: RouteRecordRaw[] = [
|
|||||||
{
|
{
|
||||||
path: "/link",
|
path: "/link",
|
||||||
meta: {
|
meta: {
|
||||||
title: "外链",
|
title: "文档链接",
|
||||||
elIcon: "link"
|
elIcon: "link"
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
@ -195,7 +195,7 @@ export const dynamicRoutes: RouteRecordRaw[] = [
|
|||||||
redirect: "/permission/page",
|
redirect: "/permission/page",
|
||||||
name: "Permission",
|
name: "Permission",
|
||||||
meta: {
|
meta: {
|
||||||
title: "权限",
|
title: "权限演示",
|
||||||
elIcon: "lock",
|
elIcon: "lock",
|
||||||
roles: ["admin", "editor"], // 可以在根路由中设置角色
|
roles: ["admin", "editor"], // 可以在根路由中设置角色
|
||||||
alwaysShow: true
|
alwaysShow: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user