mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-05-18 11:37:31 +08:00
📃 docs: 修该注释
This commit is contained in:
@@ -132,7 +132,7 @@ export const getLrcIndex = (time: number): number => {
|
|||||||
return nowIndex.value;
|
return nowIndex.value;
|
||||||
};
|
};
|
||||||
|
|
||||||
// 获取���前播放歌词进度
|
// 获取当前播放歌词进度
|
||||||
const currentLrcTiming = computed(() => {
|
const currentLrcTiming = computed(() => {
|
||||||
const start = lrcTimeArray.value[nowIndex.value] || 0;
|
const start = lrcTimeArray.value[nowIndex.value] || 0;
|
||||||
const end = lrcTimeArray.value[nowIndex.value + 1] || start + 1;
|
const end = lrcTimeArray.value[nowIndex.value + 1] || start + 1;
|
||||||
@@ -236,7 +236,7 @@ watch(
|
|||||||
() => lrcArray.value,
|
() => lrcArray.value,
|
||||||
(newLrcArray) => {
|
(newLrcArray) => {
|
||||||
if (newLrcArray.length > 0 && isElectron.value) {
|
if (newLrcArray.length > 0 && isElectron.value) {
|
||||||
// 重新初始��歌词数据
|
// 重新初始化歌词数据
|
||||||
initLyricWindow();
|
initLyricWindow();
|
||||||
// 发送当前状态
|
// 发送当前状态
|
||||||
sendLyricToWin();
|
sendLyricToWin();
|
||||||
|
|||||||
Reference in New Issue
Block a user