sso登录
This commit is contained in:
@@ -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_NAME', { username: res.result.userInfo.username,realname: res.result.userInfo.realname, welcome: welcome() })
|
||||||
this.$store.commit('SET_AVATAR', res.result.userInfo.avatar)
|
this.$store.commit('SET_AVATAR', res.result.userInfo.avatar)
|
||||||
this.loginSuccess()
|
this.loginSuccess()
|
||||||
}else if(res.message=='【单点登录】获取用户profile失败'){
|
}else if(res.message=='【单点登录】获取access_token失败'){
|
||||||
this.ssoLogin()
|
this.ssoLogin()
|
||||||
}else{
|
}else{
|
||||||
this.$message.error(res.message)
|
this.$message.error(res.message)
|
||||||
|
|||||||
Reference in New Issue
Block a user