优化文字提示,启动联机下拉按钮新增本地游戏列表功能

This commit is contained in:
黑先森
2025-02-07 20:13:33 +08:00
parent 01d475860b
commit 436c265e95
18 changed files with 588 additions and 123 deletions
+4 -3
View File
@@ -121,9 +121,10 @@ export async function MenuItemTheme() {
text: "主题切换",
action: async () => {
const mainStore = useMainStore();
mainStore.theme = !mainStore.theme;
// const appWindow = getCurrentWindow();
// appWindow.emitTo("main", "config", { theme: mainStore.theme });
mainStore.$patch({
theme: !mainStore.theme
});
// mainStore.$persist();
await setTheme(mainStore.theme);
},
});