This commit is contained in:
super_liu
2022-01-18 20:19:31 +08:00
parent a1e4668347
commit 3e1081fe33
+2
View File
@@ -135,11 +135,13 @@
if (res.ok) { if (res.ok) {
this.loginNew(res) this.loginNew(res)
} else { } else {
if(res.code && res.code === 'r0011'){
this.$message.warning('系统无权限访问') this.$message.warning('系统无权限访问')
this.$store.dispatch('logout') this.$store.dispatch('logout')
// window.location.href = 'http://sso.foton.com.cn/logout?service=' // window.location.href = 'http://sso.foton.com.cn/logout?service='
window.location.href = ssoLogoutUrlDev window.location.href = ssoLogoutUrlDev
} }
}
}) })
if (this.$store.state.laws_urm !== '') { if (this.$store.state.laws_urm !== '') {