修改音频加载策略

This commit is contained in:
kron
2025-11-27 18:16:32 +08:00
parent 82a0ee83b2
commit efa16c64a6
2 changed files with 185 additions and 251 deletions

View File

@@ -85,7 +85,7 @@ const checkAudioProgress = async () => {
const audioFinalProgress = computed(() => {
const left = 1 - audioInitProgress.value;
return (audioProgress.value - audioInitProgress.value) / left;
return Math.max(0, (audioProgress.value - audioInitProgress.value) / left);
});
onMounted(() => {