切换学科 #226
|
@ -200,6 +200,8 @@ const changeSubject = async (command) =>{
|
|||
await updateUserInfo(data)
|
||||
await userStore.login({username: phonenumber, password: plainpwd})
|
||||
await userStore.getInfo()
|
||||
localStorage.removeItem('subjectList')
|
||||
localStorage.removeItem('evaluationList')
|
||||
router.go()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue