From 7487eaf275b5d52b917962c92fc3bce60d6de11a Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Wed, 2 Jul 2025 15:50:06 +0800 Subject: [PATCH] =?UTF-8?q?login-hxl=E6=9A=82=E6=97=B6=E7=99=BB=E9=99=86?= =?UTF-8?q?=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/router/index.js b/src/router/index.js index 2767e29..66a2eff 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -4,7 +4,8 @@ const router = createRouter({ history: createWebHashHistory(), routes: [//此处在做登录之前做成默认跳转工作台 { path: '/workspace', name: "workspace", component: () => import("../views/workspace/index.vue") }, - { path: '/', redirect: "/workspace" }, + { path: '/', redirect: "/login-hxl" }, + {path: "/login-hxl",name: "login-hxl",component: () => import("../views/login-hxl.vue"),}, // { path: '/test', component: () => import("../views/z.vue") }, { meta: { requireAuth: true },