feat: 优化音乐列表加载和播放逻辑,增强性能和用户体验

This commit is contained in:
alger
2025-02-28 19:52:00 +08:00
parent 87a0ceb5b0
commit c703d9c197
5 changed files with 92 additions and 13 deletions
+1
View File
@@ -329,6 +329,7 @@ const actions = {
commit('setCurrentArtistId', id);
},
async initializeSystemFonts({ commit, state }) {
if (!isElectron) return;
// 如果已经有字体列表(不只是默认字体),则不重复获取
if (state.systemFonts.length > 1) return;