重新登陆手机号获取

This commit is contained in:
lyc 2024-09-25 14:28:38 +08:00
parent 30bcc7bfc1
commit 773d0c1957
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ const changeSubject = async (command) =>{
edusubject: command.edusubject
}
await updateUserInfo(data)
await userStore.login({username: phonenumber, password: plainpwd})
await userStore.login({username: phonenumber ? phonenumber : userName, password: plainpwd})
await userStore.getInfo()
router.go()
}