src/components/chat/assistant/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/chat/assistant/index.vue
@@ -111,9 +111,12 @@ <!-- #endregion --> </div> <!-- #endregion --> <!-- result 时 recordSetTable 已经加载,summary 时又加载了一次,导致比例列 push 了两次 为了解决这个问题,等到 msg.historyId 存在时,再渲染 recordSetTable --> <component v-if="msg.content?.values?.[index]" v-if="msg.content?.values?.[index] && msg.historyId" :reportIndex="index" :conclusion="msg.content.values[index].conclusion" :is="answerTypeMapCom[msg.content.values[index].content.type]"