From 3e1081fe3389077c98b3827c2e5fed5764cdab0f Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Tue, 18 Jan 2022 20:19:31 +0800 Subject: [PATCH] feat:new --- src/pages/loginVerify/index.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pages/loginVerify/index.vue b/src/pages/loginVerify/index.vue index b92c39d53..caefa55bb 100644 --- a/src/pages/loginVerify/index.vue +++ b/src/pages/loginVerify/index.vue @@ -135,10 +135,12 @@ if (res.ok) { this.loginNew(res) } else { - this.$message.warning('系统无权限访问') - this.$store.dispatch('logout') - // window.location.href = 'http://sso.foton.com.cn/logout?service=' - window.location.href = ssoLogoutUrlDev + if(res.code && res.code === 'r0011'){ + this.$message.warning('系统无权限访问') + this.$store.dispatch('logout') + // window.location.href = 'http://sso.foton.com.cn/logout?service=' + window.location.href = ssoLogoutUrlDev + } } })