feat:save

This commit is contained in:
zyronon
2025-08-06 01:56:05 +08:00
parent d53863d96f
commit 0d23448d75
9 changed files with 87382 additions and 47357 deletions

View File

@@ -546,8 +546,11 @@ export function usePlaySentenceAudio() {
ref.currentTime = start
ref.play()
let end = sentence.audioPosition?.[1]
console.log(sentence.audioPosition,(end - start) * 1000)
if (end && end !== -1) {
timer = setTimeout(() => {
console.log('停')
ref.pause()
}, (end - start) * 1000)
}