mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-02 06:45:08 +08:00
🐛 修复 ck 无法刷新问题
This commit is contained in:
@@ -32,7 +32,7 @@ export const useUserStore = defineStore(
|
||||
return cookie.value[key] || "";
|
||||
}
|
||||
|
||||
async function initCookie (ck: Record<string, string>): Promise<void> {
|
||||
function initCookie (ck: Record<string, string>): void {
|
||||
if (cookie.value !== ck) {
|
||||
cookie.value = ck;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user