Skip to content

Commit

Permalink
🐛 修复遗漏token
Browse files Browse the repository at this point in the history
  • Loading branch information
BTMuli committed Jul 26, 2024
1 parent 948db20 commit 6b18d63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/store/modules/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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};`;
}
Expand Down

0 comments on commit 6b18d63

Please sign in to comment.