1
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
76252e50d1
commit
50b05afda0
|
@ -283,7 +283,9 @@ export default {
|
|||
this.$store
|
||||
.dispatch('user/loginByToken', { Token }).then(res => {
|
||||
if (res.length === 1) {
|
||||
return this.loginByRole(res[0])
|
||||
return this.loginByRole({
|
||||
UserId: res[0].Id, UserTypeId: res[0].UserTypeId
|
||||
})
|
||||
}
|
||||
this.toggleRoleVisible = true
|
||||
}).catch(err => {
|
||||
|
|
Loading…
Reference in New Issue