Skip to content

Commit

Permalink
🎨 添加粗略登录校验
Browse files Browse the repository at this point in the history
  • Loading branch information
BTMuli committed Oct 25, 2023
1 parent f54ab8d commit d422e30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/app/t-sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d422e30

Please sign in to comment.