diff --git a/src/stores/gameStore.ts b/src/stores/gameStore.ts index acae16b..0e77186 100644 --- a/src/stores/gameStore.ts +++ b/src/stores/gameStore.ts @@ -23,7 +23,7 @@ export const useGameStore = defineStore('game', { currentPlanetId: '', isDark: '', locale: 'zh-CN' as Locale, - sidebarCollapsed: window.innerWidth < 1024 ? false : true, + sidebarCollapsed: window.innerWidth >= 1024, universePlanets: {} as Record }), getters: {