feat: 增强歌词窗口处理逻辑,修复可能引起的歌词初始化重复播放问题

This commit is contained in:
alger
2025-03-23 00:47:01 +08:00
parent 4c10533a3d
commit 2a12f57cb2
2 changed files with 17 additions and 7 deletions
+4
View File
@@ -97,3 +97,7 @@ export const isMobile = computed(() => {
});
export const isElectron = (window as any).electron !== undefined;
export const isLyricWindow = computed(() => {
return window.location.hash.includes('lyric');
});