File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
ai-chat/component/knowledge-source-component Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 6262 </h5 >
6363 <div class =" p-8-12 border-t-dashed lighter" >
6464 <div v-for =" (msg, index) in AiResponse" :key =" index" >
65- <MdRenderer v-if =" msg.content" :source =" msg.content" ></MdRenderer >
65+ <MdRenderer v-if =" msg.content" :source =" msg.content" noImgZoomIn ></MdRenderer >
6666 <template v-else > -</template >
6767 </div >
6868 </div >
Original file line number Diff line number Diff line change 237237 {{ $t('chat.executionDetails.answer') }}
238238 </h5 >
239239 <div class =" p-8-12 border-t-dashed lighter" >
240- <MdPreview
241- v-if =" data.answer"
242- ref =" editorRef"
243- editorId =" preview-only"
244- :modelValue =" data.answer"
245- style =" background : none "
246- noImgZoomIn
247- />
240+ <MdRenderer v-if =" data.answer" :source =" data.answer" noImgZoomIn ></MdRenderer >
241+
248242 <template v-else > -</template >
249243 </div >
250244 </div >
@@ -1299,7 +1293,7 @@ import { WorkflowType } from '@/enums/application'
12991293import { getImgUrl } from ' @/utils/common'
13001294import { arraySort } from ' @/utils/array'
13011295import ExecutionDetailCard from ' @/components/execution-detail-card/index.vue'
1302-
1296+ import MdRenderer from ' @/components/markdown/MdRenderer.vue '
13031297import { t } from ' @/locales'
13041298
13051299const props = defineProps ({
You can’t perform that action at this time.
0 commit comments