浏览代码

fix: add then eidt annotion cause show bug (#1775)

Joel 1 年之前
父节点
当前提交
4f0e272549
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      web/app/components/app/chat/index.tsx

+ 4 - 0
web/app/components/app/chat/index.tsx

@@ -231,6 +231,10 @@ const Chat: FC<IChatProps> = ({
                     return {
                       ...item,
                       content: answer,
+                      annotation: {
+                        ...item.annotation,
+                        logAnnotation: undefined,
+                      } as any,
                     }
                   }
                   return item