重新登陆手机号获取 #269

Merged
lyc merged 1 commits from lyc-dev into main 2024-09-25 14:28:44 +08:00
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()
} }