mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:12:51 +00:00
fix: remove unnecessary condition in play/pause logic for audio management
--bug=1058773 --user=刘瑞斌 【应用】语音播放开启自动播放,问答时没有流式播放 https://www.tapd.cn/62980211/s/1731458
This commit is contained in:
parent
243745dc07
commit
95263d147b
|
|
@ -537,7 +537,7 @@ onMounted(() => {
|
|||
const record_id = data.record_id
|
||||
bus.emit('play:pause', record_id)
|
||||
if (props.data.record_id == record_id) {
|
||||
if (props.tts && props.tts_autoplay && data.is_end) {
|
||||
if (props.tts && props.tts_autoplay) {
|
||||
if (audioManage.value) {
|
||||
audioManage.value.play(props.data.answer_text, data.is_end)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue