wujingjing
2024-11-06 c89d1d1fe4e820bc9d1a942467a3f1e017b40dac
无关代码删除
已修改2个文件
11 ■■■■■ 文件已修改
src/components/chat/Chat.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/chat/chatComponents/summaryCom/SummaryCom.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/chat/Chat.vue
@@ -56,7 +56,9 @@
                                                        <span class="ywifont ywicon-loading1 animate-spin !text-[24px]"></span>
                                                    </template>
                                                    <template #title>
                                                        <span class="text-sm">{{ subItem.title }}<span v-if="subItem.ms" class="text-green-600">{{ `(${subItem.ms})` }}</span></span>
                                                        <span class="text-sm"
                                                            >{{ subItem.title }}<span v-if="subItem.ms" class="text-green-600">{{ `(${subItem.ms})` }}</span></span
                                                        >
                                                    </template>
                                                </el-step>
                                            </el-steps>
@@ -440,8 +442,6 @@
            const currentTimeStamp = new Date().getTime();
            const ms = toMyFixed(currentTimeStamp - lastTimestamp, 2) + ' ms';
            if (chunkRes.mode === 'finish') {
                const title = stepList.at(-1).title;
                // stepList.at(-1).title = `${title}(${ms})`;
                stepList.at(-1).ms = ms;
                isTalking.value = false;
@@ -449,10 +449,7 @@
            }
            if (stepList?.length >= 1) {
                const title = stepList.at(-1).title;
                // stepList.at(-1).title = `${title}(${ms})`;
                stepList.at(-1).ms = ms;
            }
            lastTimestamp = currentTimeStamp;
src/components/chat/chatComponents/summaryCom/SummaryCom.vue
@@ -26,7 +26,7 @@
                            <span>
                                {{ toggleReportLabel(item) }}
                            </span>
                            <span class="ywifont" :class="{ 'ywicon-unfold': !item.stepIsShow, 'ywicon-fold': item.stepIsShow }"></span>
                            <span class="ywifont" :class="{ 'ywicon-unfold': !item.reportIsShow, 'ywicon-fold': item.reportIsShow }"></span>
                        </div>
                    </div>