🐞 fix: 歌词排除内容不生效 #509

This commit is contained in:
底层用户
2025-10-23 16:23:35 +08:00
parent bb0cae2be1
commit 2efc0a5228
6 changed files with 107 additions and 40 deletions

View File

@@ -155,6 +155,8 @@ interface SettingState {
dynamicCover: boolean;
/** 是否使用 keep-alive */
useKeepAlive: boolean;
/** 是否启用排除歌词关键字 */
enableExcludeKeywords: boolean;
/** 排除歌词关键字 */
excludeKeywords: string[];
/** 显示默认本地路径 */
@@ -216,6 +218,7 @@ export const useSettingStore = defineStore("setting", {
lyricsBlur: false,
lyricsScrollPosition: "start",
lrcMousePause: false,
enableExcludeKeywords: true,
excludeKeywords: keywords,
localFilesPath: [],
localLyricPath: [],