This commit is contained in:
2026-03-24 17:19:15 +08:00
parent 5364df097b
commit aa37f75a07
4 changed files with 24 additions and 23 deletions

View File

@@ -59,36 +59,36 @@ export const constantRouterMap = [
{
path: "/",
component: Layout,
meta: {
title: "系统首页",
icon: "camera"
},
children: [
{
path: "/dashboard",
component: () => import("@/views/dashboard/index"),
name: "系统首页",
meta: { title: "系统首页", icon: "component", noCache: true }
}
]
},
{
path: "/workbench",
component: Layout,
meta: {
title: "我的工作台",
icon: "camera"
},
children: [
{
path: "/workbench",
path: "/dashboard",
component: () => import("@/views/workbench/index"),
name: "我的工作台",
meta: { title: "我的工作台", icon: "component", noCache: true }
}
]
}
];
// {
// path: "/workbench",
// component: Layout,
// meta: {
// title: "我的工作台",
// icon: "camera"
// },
// children: [
// {
// path: "/workbench",
// component: () => import("@/views/workbench/index"),
// name: "我的工作台",
// meta: { title: "我的工作台", icon: "component", noCache: true }
// }
// ]
// }
]
//需要权限的路由表
export const asyncRouterMap = [