mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-28 05:42:51 +00:00
fix: Fix autoplay when tts disabled
--bug=1051950 --user=刘瑞斌 【应用】不关闭自动朗读,直接关闭语言合成模型,还是会自动朗读 https://www.tapd.cn/57709429/s/1650240
This commit is contained in:
parent
28f06222de
commit
2732323c6d
|
|
@ -278,7 +278,7 @@ const pausePlayAnswerText = () => {
|
|||
|
||||
onMounted(() => {
|
||||
// 第一次回答后自动播放, 打开历史记录不自动播放
|
||||
if (props.tts_autoplay && buttonData.value.write_ed && !buttonData.value.update_time) {
|
||||
if (props.tts && props.tts_autoplay && buttonData.value.write_ed && !buttonData.value.update_time) {
|
||||
playAnswerText(buttonData.value.answer_text)
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue