📃 docs: 修该注释

This commit is contained in:
alger
2024-12-14 13:15:59 +08:00
parent f9333f5f78
commit 34c45e0105
+2 -2
View File
@@ -132,7 +132,7 @@ export const getLrcIndex = (time: number): number => {
return nowIndex.value;
};
// 获取前播放歌词进度
// 获取前播放歌词进度
const currentLrcTiming = computed(() => {
const start = lrcTimeArray.value[nowIndex.value] || 0;
const end = lrcTimeArray.value[nowIndex.value + 1] || start + 1;
@@ -236,7 +236,7 @@ watch(
() => lrcArray.value,
(newLrcArray) => {
if (newLrcArray.length > 0 && isElectron.value) {
// 重新初始歌词数据
// 重新初始歌词数据
initLyricWindow();
// 发送当前状态
sendLyricToWin();