perf: 调整

This commit is contained in:
rd
2025-08-28 16:05:17 +08:00
parent c49349257d
commit be7f61bb76
2 changed files with 3 additions and 4 deletions

View File

@ -226,7 +226,7 @@ export default function useChatHandler(options: UseChatHandlerOptions): UseChatH
)} )}
</div> </div>
)} )}
{isCollapse ? ( {isCollapse && (
<div class="relative thought-chain-item"> <div class="relative thought-chain-item">
<div class="flex items-center mb-4px"> <div class="flex items-center mb-4px">
<img src={isRulCompleted ? icon1 : icon2} width={13} height={13} class="mr-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>
<div v-html={md.render(output)} class={outputEleClass} /> <div v-html={md.render(output)} class={outputEleClass} />
</div> </div>
) : (
customRender?.()
)} )}
{customRender?.()}
</> </>
); );
}, },

View File

@ -1,7 +1,7 @@
.xt-conversations-container { .xt-conversations-container {
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow-y: auto; // overflow-y: auto;
:deep(.overflow-text) { :deep(.overflow-text) {
color: var(--Text-1, #211f24); color: var(--Text-1, #211f24);
font-family: $font-family-regular; font-family: $font-family-regular;