1
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-04-01 15:38:09 +08:00
parent 76252e50d1
commit 50b05afda0
1 changed files with 3 additions and 1 deletions

View File

@ -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 => {