This commit is contained in:
zhutianqi
2022-03-16 18:02:23 +08:00
parent 20e5f1c726
commit cd3e6b41c7
+8 -1
View File
@@ -138,8 +138,15 @@
if(res.respCode && res.respCode === 'r0011'){
this.$message.warning('系统无权限访问')
this.$store.dispatch('logout')
this.$alert('您没有系统访问权限,请联系管理员进行授权', '提示', {
confirmButtonText: '确定',
type: 'warning',
showClose: false,
showCancelButton: false,
}).then(() => {
window.location.href = ssoLogoutUrlDev
})
// window.location.href = 'http://sso.foton.com.cn/logout?service='
window.location.href = ssoLogoutUrlDev
}
}
})