From 893be27671e75550f2e29da7931dcd306029a0eb Mon Sep 17 00:00:00 2001 From: lyc Date: Thu, 19 Sep 2024 16:02:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=AD=A6=E7=A7=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/layout/components/Header.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderer/src/layout/components/Header.vue b/src/renderer/src/layout/components/Header.vue index 253fab4..e9b53c6 100644 --- a/src/renderer/src/layout/components/Header.vue +++ b/src/renderer/src/layout/components/Header.vue @@ -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() } -- 2.44.0.windows.1