Fix(云灵AI):[#5374]历史对话详情页-点击语音播放按钮,没有播放AI回答内容,原因是后端返回的数据conversationId、messageId有可能为空,需要兼容处理
This commit is contained in:
@@ -686,7 +686,7 @@ export const chatMixinsV2 = {
|
||||
return
|
||||
}
|
||||
this.isPlayAudio = false
|
||||
this.audioPlayId = item.conversationId
|
||||
this.audioPlayId = item.conversationId || item.messageId || item.parentMessageId
|
||||
const flag = 1
|
||||
if (flag === 1) {
|
||||
console.log(removeMarkdown(item.content).replace(/[\n\t\s]/g, ''))
|
||||
|
||||
Reference in New Issue
Block a user