perf: 调整
This commit is contained in:
@ -226,7 +226,7 @@ export default function useChatHandler(options: UseChatHandlerOptions): UseChatH
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
{isCollapse ? (
|
||||
{isCollapse && (
|
||||
<div class="relative thought-chain-item">
|
||||
<div class="flex items-center mb-4px">
|
||||
<img src={isRulCompleted ? icon1 : icon2} width={13} height={13} class="mr-4px" />
|
||||
@ -234,9 +234,8 @@ export default function useChatHandler(options: UseChatHandlerOptions): UseChatH
|
||||
</div>
|
||||
<div v-html={md.render(output)} class={outputEleClass} />
|
||||
</div>
|
||||
) : (
|
||||
customRender?.()
|
||||
)}
|
||||
{customRender?.()}
|
||||
</>
|
||||
);
|
||||
},
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
.xt-conversations-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
// overflow-y: auto;
|
||||
:deep(.overflow-text) {
|
||||
color: var(--Text-1, #211f24);
|
||||
font-family: $font-family-regular;
|
||||
|
||||
Reference in New Issue
Block a user