Skip to content

Commit

Permalink
fix: 修复语音播放没选中浏览器播放为默认值的问题
Browse files Browse the repository at this point in the history
--bug=1046703 --user=刘瑞斌 【应用编排】应用编排开启语音播放,默认应该选中浏览器播放 https://www.tapd.cn/57709429/s/1580874
  • Loading branch information
liuruibin committed Sep 19, 2024
1 parent d0b4d5d commit e2799b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/src/workflow/nodes/base-node/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@ onMounted(() => {
})
}
set(props.nodeModel.properties, 'input_field_list', inputFieldList)
set(props.nodeModel.properties.node_data, 'tts_type', 'BROWSER')
if (!props.nodeModel.properties.node_data.tts_type) {
set(props.nodeModel.properties.node_data, 'tts_type', 'BROWSER')
}
getProvider()
getTTSModel()
getSTTModel()
Expand Down

0 comments on commit e2799b6

Please sign in to comment.