src/components/chat/assistant/index.vue
@@ -57,7 +57,7 @@ </template> <template #title> <span class=""> <span v-html="subItem.title.replace(/\n/g, '<br>')"></span> <span v-html="md.render(subItem.title)"></span> <span v-if="subItem.ms" class="text-green-600">{{ `(${subItem.ms})` }}</span></span > @@ -241,6 +241,7 @@ import { isSharePage } from '/@/stores/chatRoom'; import { ErrorCode } from '/@/utils/request'; import { question_stream_reply } from '/@/api/ai/chat'; import { md } from '/@/components/chat/libs/markdown'; const props = defineProps({ /** @description 当前消息 */