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(); });