mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-11 02:36:54 +08:00
perf: Assistant chat ui
This commit is contained in:
@@ -11,7 +11,9 @@ defineProps<{
|
||||
<div class="chat-block">
|
||||
<slot>
|
||||
<div class="chat-block-content">
|
||||
<div v-dompurify-html="msg?.content"></div>
|
||||
<!-- <div v-dompurify-html="msg?.content"></div> -->
|
||||
<div v-if="msg?.role === 'user'" v-html="msg.content"></div>
|
||||
<div v-else v-dompurify-html="msg?.content"></div>
|
||||
</div>
|
||||
</slot>
|
||||
</div>
|
||||
|
||||
@@ -833,6 +833,7 @@ defineExpose({
|
||||
|
||||
.chat-record-list {
|
||||
padding: 0 0 20px 0;
|
||||
background: rgba(224, 224, 226, 0.29);
|
||||
}
|
||||
|
||||
.chat-footer {
|
||||
|
||||
Reference in New Issue
Block a user