From acd66c11fa20d4b68bbb05646f4e42f86771cb7e Mon Sep 17 00:00:00 2001 From: yangws <1607839436@qq.com> Date: Wed, 18 Sep 2024 14:04:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83?= =?UTF-8?q?=E4=BB=BB=E9=80=89=E5=AD=A6=E7=A7=91=E6=8A=A5=E9=94=99=E9=97=AE?= =?UTF-8?q?=E9=A2=98;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/profile/userInfo.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/views/profile/userInfo.vue b/src/renderer/src/views/profile/userInfo.vue index 1d538e4..158392d 100644 --- a/src/renderer/src/views/profile/userInfo.vue +++ b/src/renderer/src/views/profile/userInfo.vue @@ -92,7 +92,7 @@ const subjectList = ref([]) // 获取基础的学科 const getSubject = () => { //没有学科则不进行下面的步骤 - if(!userInfo.user.subject) return + if(!userStore.user.subject) return listEvaluation({ itemkey: 'subject', pageSize: 500 }).then((res) => { const arr = userStore.user.subject.split(',') subjectList.value = res.rows.filter(item => arr.includes(String(item.id))).map(items => items)