fix: bug
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user