mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-05-21 05:25:45 +08:00
🐛 修复AppOnInit报错
This commit is contained in:
@@ -171,7 +171,7 @@ async function checkUserLoad(): Promise<void> {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (JSON.stringify(ckDB) !== "{}" && !appStore.isLogin) appStore.isLogin = true;
|
if (JSON.stringify(ckDB) !== "{}" && !appStore.isLogin) appStore.isLogin = true;
|
||||||
const ckLocal = userStore.cookie;
|
const ckLocal = userStore.cookie.value;
|
||||||
if (JSON.stringify(ckLocal) !== JSON.stringify(ckDB)) userStore.cookie.value = ckDB;
|
if (JSON.stringify(ckLocal) !== JSON.stringify(ckDB)) userStore.cookie.value = ckDB;
|
||||||
const infoLocal = userStore.briefInfo.value;
|
const infoLocal = userStore.briefInfo.value;
|
||||||
const appData = await TGSqlite.getAppData();
|
const appData = await TGSqlite.getAppData();
|
||||||
|
|||||||
Reference in New Issue
Block a user