保存进度!

This commit is contained in:
2023-02-14 23:36:40 +08:00
parent 007953d129
commit 8315b1f9b2
11 changed files with 69 additions and 20 deletions

View File

@@ -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,
});
//前置路由守卫