diff --git a/src/components/app/t-sidebar.vue b/src/components/app/t-sidebar.vue index 86f287f7..316cf825 100644 --- a/src/components/app/t-sidebar.vue +++ b/src/components/app/t-sidebar.vue @@ -207,6 +207,7 @@ async function switchTheme(): Promise { } async function openClient(func: string): Promise { + if (userStore.cookie.game_token === "") return login(); await mhyClient.open(func); }