sso登录

This commit is contained in:
caoyang
2022-03-22 17:26:28 +08:00
parent 2e1d17e496
commit 43dc9eb111
+1 -1
View File
@@ -436,7 +436,7 @@
this.$store.commit('SET_NAME', { username: res.result.userInfo.username,realname: res.result.userInfo.realname, welcome: welcome() })
this.$store.commit('SET_AVATAR', res.result.userInfo.avatar)
this.loginSuccess()
}else if(res.message=='【单点登录】获取用户profile失败'){
}else if(res.message=='【单点登录】获取access_token失败'){
this.ssoLogin()
}else{
this.$message.error(res.message)