wujingjing
2024-11-04 f9831b4c716eaa858353a5a1a5ba340f3b9c92ec
src/components/chat/Chat.vue
@@ -49,10 +49,9 @@
                                       :title="subItem.title"
                                       :status="stepEnumMap[subItem.status]"
                                    >
                                       <!-- <template #icon>
                                       <span v-if="subItem.status === StepEnum.Loading" class="ywifont ywicon-loading animate-spin"></span>
                                       <span v-else class="ywifont ywicon-loading1 animate-spin"></span>
                                    </template> -->
                                       <template #icon v-if="index + 1 === item.stepList.length && isTalking">
                                          <span class="ywifont ywicon-loading1 animate-spin !text-[24px]"></span>
                                       </template>
                                       <template #title>
                                          <span class="text-sm">{{ subItem.title }}</span>
                                       </template>
@@ -353,7 +352,6 @@
let finalCalcSectionAId = null;
const questionAi = async (text, assistantMsg: ChatMessage) => {
   // processId.value = uuidv4();
   let judgeParams = null;
   if (!preQuestion.value) {
      // const aiContent = computedMessageList.value.filter((item) => item.role === RoleEnum.assistant);