fix: remove console.log in voice.js

This commit is contained in:
Haoyu Xu
2025-08-03 12:42:30 +08:00
parent ff1a0cdc17
commit 464b0f9c73

View File

@@ -260,7 +260,6 @@ export default class Voice {
list = list.filter((item) => item !== 'CN_043') list = list.filter((item) => item !== 'CN_043')
} }
const id = list[Math.floor(Math.random() * list.length)] const id = list[Math.floor(Math.random() * list.length)]
console.log(id, list, this.#config.language)
return id === this.#voice.id.last ? getVoiceId() : id return id === this.#voice.id.last ? getVoiceId() : id
} }
this.#playVoice(getVoiceId()) this.#playVoice(getVoiceId())