File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed
ui/src/components/ai-chat/component/answer-content Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 11<template >
22 <div class =" item-content mb-16 lighter" >
3- <div v-for =" (answer_text, index) in chatRecord.answer_text_list" :key =" index" >
3+ <template v-for =" (answer_text , index ) in chatRecord .answer_text_list " :key =" index " >
44 <div class =" avatar" >
55 <img v-if =" application.avatar" :src =" application.avatar" height =" 32px" width =" 32px" />
66 <LogoIcon v-else height =" 32px" width =" 32px" />
77 </div >
88 <div class =" content" >
9- <el-card shadow =" always" class =" dialog-card" >
9+ <el-card shadow =" always" class =" dialog-card mb-8 " >
1010 <MdRenderer
1111 v-if =" answer_text"
1212 :source =" answer_text"
2323 <KnowledgeSource :data =" chatRecord" :type =" application.type" />
2424 </div >
2525 </el-card >
26- <OperationButton
27- :type =" type"
28- :application =" application"
29- :chat-record =" chatRecord"
30- :loading =" loading"
31- :start-chat =" startChat"
32- :stop-chat =" stopChat"
33- :regenerationChart =" regenerationChart"
34- ></OperationButton >
3526 </div >
27+ </template >
28+ <div class =" content" >
29+ <OperationButton
30+ :type =" type"
31+ :application =" application"
32+ :chat-record =" chatRecord"
33+ :loading =" loading"
34+ :start-chat =" startChat"
35+ :stop-chat =" stopChat"
36+ :regenerationChart =" regenerationChart"
37+ ></OperationButton >
3638 </div >
3739 </div >
3840</template >
You can’t perform that action at this time.
0 commit comments