Compare commits

...

3 Commits

Author SHA1 Message Date
“zouyf” ebed58ea9e 优化个人中心选择学科 2024-11-21 15:58:57 +08:00
“zouyf” fd5343c942 Merge branch 'main' into zouyf_dev 2024-11-21 15:06:17 +08:00
baigl a34226f29f Merge pull request 'baigl' (#48) from baigl into main
Reviewed-on: #48
2024-11-21 11:22:15 +08:00
1 changed files with 9 additions and 1 deletions

View File

@ -62,10 +62,18 @@ const handleUserEduStage = (item) => {
//
userStore.edusubject = '语文'
}
else if(item === '高中' && userStore.edusubject === "道德与法治"){
//
userStore.edusubject = '政治'
}
else if(item != '高中' && userStore.edusubject === "政治"){
//
userStore.edusubject = '道德与法治'
}
}
//
const handleUserEduSubject = (item) => {
userStore.edusubject = item
userStore.edusubject = item;
}
onMounted(() => {
getSubject()