feat:improve the audio function of the article

This commit is contained in:
zyronon
2025-09-14 16:41:33 +08:00
parent e921d00a15
commit 3b5d8d94ed
10 changed files with 189 additions and 276 deletions

View File

@@ -555,7 +555,7 @@ export function usePlaySentenceAudio() {
timer = setTimeout(() => {
console.log('停')
ref.pause()
}, (end - start) * 1000)
}, (end - start) / ref.playbackRate * 1000)
}
} else {
playWordAudio(sentence.text)