Merge branch 'main' into zhuhao_dev

This commit is contained in:
朱浩 2024-09-25 15:28:02 +08:00
commit 4efc8108e5
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()
} }