mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🎨 添加粗略登录校验
This commit is contained in:
@@ -207,6 +207,7 @@ async function switchTheme(): Promise<void> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function openClient(func: string): Promise<void> {
|
async function openClient(func: string): Promise<void> {
|
||||||
|
if (userStore.cookie.game_token === "") return login();
|
||||||
await mhyClient.open(func);
|
await mhyClient.open(func);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user