Merge pull request '重新登陆手机号获取' (#269) from lyc-dev into main

This commit is contained in:
lyc 2024-09-25 14:28:42 +08:00
commit 213eacb689
1 changed files with 1 additions and 1 deletions

View File

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