重新登陆手机号获取 #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
Showing only changes of commit 773d0c1957 - Show all commits

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()
}