From 6b18d63fb0afca7108ae772ba608ed3f5fd1d839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Fri, 26 Jul 2024 17:15:44 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E9=81=97?= =?UTF-8?q?=E6=BC=8Ftoken?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/user.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index 321be45f..3b6c05f6 100644 --- a/src/store/modules/user.ts +++ b/src/store/modules/user.ts @@ -46,6 +46,9 @@ export const useUserStore = defineStore( if (cookie.value.stoken && cookie.value.stoken !== "") { res += `stoken=${cookie.value.stoken};`; } + if (cookie.value.stuid && cookie.value.stuid !== "") { + res += `stuid=${cookie.value.stuid};`; + } if (cookie.value.account_id && cookie.value.account_id !== "") { res += `account_id=${cookie.value.account_id};`; }