This commit is contained in:
super_liu
2022-01-18 20:19:31 +08:00
parent a1e4668347
commit 3e1081fe33
+6 -4
View File
@@ -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
}
}
})