From 577a7553fa1c14dc3c25d529835b714bc79e8862 Mon Sep 17 00:00:00 2001 From: wangyilin <1454641981@qq.com> Date: Thu, 21 Nov 2024 15:16:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AE=89=E5=90=8E=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- securityManagement/src/router/index.ts | 2 +- securityManagement/src/views/serviceManagement/index.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/securityManagement/src/router/index.ts b/securityManagement/src/router/index.ts index 85aacfc..d1841ff 100644 --- a/securityManagement/src/router/index.ts +++ b/securityManagement/src/router/index.ts @@ -32,7 +32,7 @@ router.beforeEach(async (to, from, next) => { // 不在白名单内需要查看是否携带token 没有token需要返回登录页进行登录 if (!userStore.getTokenInfo?.value) { await message.warn('未找到token,请重新登陆!') - return next('/enterprise'); + return next('/login'); } //放行 return next(); diff --git a/securityManagement/src/views/serviceManagement/index.vue b/securityManagement/src/views/serviceManagement/index.vue index 095ec84..38e754f 100644 --- a/securityManagement/src/views/serviceManagement/index.vue +++ b/securityManagement/src/views/serviceManagement/index.vue @@ -252,7 +252,7 @@ const enterprisesUnitIdList = ref[]>([]) const enterprisesUnitId = ref('') const isRecruitSecurityHidden = ref(false) -const idNumberDisabled = ref(false) +const idNumberDisabled = ref(true) // 切换options const netType = computed(() => { @@ -329,7 +329,7 @@ const formItemOptions = ref