🐞 fix: 修复播放暂停控制问题 后续优化为参数监听

This commit is contained in:
alger
2024-12-12 22:36:07 +08:00
parent cebf313075
commit 7365daf700
5 changed files with 10 additions and 1 deletions
-1
View File
@@ -140,7 +140,6 @@ watch(
const throttledSeek = useThrottleFn((value: number) => {
if (!sound.value) return;
sound.value.seek((value * allTime.value) / 100);
store.commit('setPlayMusic', true);
}, 50); // 50ms 的节流延迟
// 修改 timeSlider 计算属性