保存进度!
This commit is contained in:
@@ -19,10 +19,10 @@ const routes = [
|
||||
hidden: true,
|
||||
},
|
||||
{
|
||||
path:"/error-page",
|
||||
path: "/error-page",
|
||||
name: "ErrorPage",
|
||||
hidden: true,
|
||||
component: ()=> import("@/views/ErrorPage.vue"),
|
||||
component: () => import("@/views/ErrorPage.vue"),
|
||||
},
|
||||
{
|
||||
path: "/login",
|
||||
@@ -35,7 +35,7 @@ const routes = [
|
||||
name: "Home",
|
||||
hidden: true,
|
||||
meta: {
|
||||
title: "控制台"
|
||||
title: "控制台",
|
||||
},
|
||||
component: () => import("../layout/Index.vue"),
|
||||
},
|
||||
@@ -152,14 +152,14 @@ const routes = [
|
||||
icon: "switch",
|
||||
},
|
||||
component: () => import("../views/network/switch/SwitchManager.vue"),
|
||||
}
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHashHistory(),
|
||||
routes
|
||||
routes,
|
||||
});
|
||||
|
||||
//前置路由守卫
|
||||
|
Reference in New Issue
Block a user