Compare commits

..

2 Commits

Author SHA1 Message Date
lyc b0b429c7aa Merge pull request '切换学科' (#226) from lyc-dev into main 2024-09-19 16:02:41 +08:00
lyc 893be27671 切换学科 2024-09-19 16:02:42 +08:00
1 changed files with 2 additions and 0 deletions

View File

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