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 + } } })