wujingjing
2024-12-19 df0a461ea2018f99ccbc82148f8ae3f6cddaf23b
src/components/chat/hooks/useScrollLoad.ts
@@ -114,9 +114,11 @@
                     state: item.answer_state,
                     sectionAId: mapUser?.section_a_id,
                     createTime: answerTime,
                     stepList: convertProcessToStep(item?.answer?.reports?.[0]?.exec_process),
                     stepIsShow: false,
                     isStopMsg: false,
                     stepGroup: (item?.answer?.reports ?? []).map((item) => ({
                        value: convertProcessToStep(item?.exec_process),
                        isShow: false,
                     })),
                     conclusion: item?.answer?.conclusion ?? [],
                     isChecked: false,
@@ -155,8 +157,10 @@
         historyId: msgValue.history_id,
         role: RoleEnum.assistant,
         content: parseAnswerContent(msgValue),
         stepList: convertProcessToStep(msgValue?.reports?.[0]?.exec_process),
         stepIsShow: false,
         stepGroup: (msgValue?.reports ?? []).map((item) => ({
            value: convertProcessToStep(item?.exec_process),
            isShow: false,
         })),
         isStopMsg: false,
         conclusion: msgValue.conclusion ?? [],