🎨 添加粗略登录校验

This commit is contained in:
BTMuli
2023-10-25 20:51:35 +08:00
parent f54ab8daa4
commit d422e308fb

View File

@@ -207,6 +207,7 @@ async function switchTheme(): Promise<void> {
}
async function openClient(func: string): Promise<void> {
if (userStore.cookie.game_token === "") return login();
await mhyClient.open(func);
}