From 2d40736a9624c689c044004a387ac802087481f5 Mon Sep 17 00:00:00 2001 From: lcw <1878680531@qq.com> Date: Mon, 15 Sep 2025 12:24:21 +0800 Subject: [PATCH] lcw --- src/router/index.js | 4 +++- src/views/backOfficeSystem/peopleManag/checkpoint/index.vue | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index b0ce500..09e3df0 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -21,7 +21,7 @@ export const privateRoutes = []; * 公开路由表 */ export const publicRoutes = [ - { + { path: "/oatuh_login", name: "oatuh_login", component: () => import("@/views/login/oatuh_login") @@ -426,6 +426,7 @@ export const publicRoutes = [ { path: "/checkpoint", name: "checkpoint", + redirect: "/checkpoint", meta: { title: "环林卡口管理", icon: "article" @@ -446,6 +447,7 @@ export const publicRoutes = [ { path: "/forewarning", name: "forewarning", + redirect: "/forewarning", meta: { title: "预警管理", icon: "article" diff --git a/src/views/backOfficeSystem/peopleManag/checkpoint/index.vue b/src/views/backOfficeSystem/peopleManag/checkpoint/index.vue index 86def59..71b90f7 100644 --- a/src/views/backOfficeSystem/peopleManag/checkpoint/index.vue +++ b/src/views/backOfficeSystem/peopleManag/checkpoint/index.vue @@ -139,7 +139,6 @@ const pageData = reactive({ const Auth = ref(true) onMounted(() => { Auth.value = isAuth() - tabHeightFn(); });