feat: 优化设置模块,合并默认设置与存储设置,初始化时读取设置

This commit is contained in:
algerkong
2025-04-23 09:52:07 +08:00
parent 64f5fcaee4
commit 0a22c7b5d7
2 changed files with 24 additions and 13 deletions
+1 -1
View File
@@ -575,7 +575,7 @@ import config from '../../../../package.json';
// 手动定义Platform类型,避免从主进程导入的问题
type Platform = 'qq' | 'migu' | 'kugou' | 'pyncmd' | 'joox' | 'kuwo' | 'bilibili' | 'youtube' | 'gdmusic';
// 所有平台
const ALL_PLATFORMS: Platform[] = ['migu', 'kugou', 'pyncmd', 'kuwo', 'bilibili', 'youtube', 'gdmusic'];
const ALL_PLATFORMS: Platform[] = ['migu', 'kugou', 'pyncmd', 'bilibili', 'youtube'];
const settingsStore = useSettingsStore();
const userStore = useUserStore();