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