From f695dba3745cd3da2bd20e1135fb49a7b77c2f69 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 28 Jul 2025 17:39:47 +0800 Subject: [PATCH] fix: bug fix --- frontend/src/views/chat/index.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue index ca5a773f..0f86876c 100644 --- a/frontend/src/views/chat/index.vue +++ b/frontend/src/views/chat/index.vue @@ -292,6 +292,7 @@ :disabled="isTyping" clearable class="input-area" + :class="isAssistant && 'is-assistant'" type="textarea" :rows="1" :autosize="{ minRows: 1, maxRows: 8.583 }" @@ -935,6 +936,20 @@ onMounted(() => { border-radius: 16px; line-height: 24px; } + + &.is-assistant { + :deep(.ed-textarea__inner) { + padding: 12px 12px 52px 12px; + font-weight: 400; + font-size: 16px; + line-height: 24px; + border-radius: 16px; + + &::placeholder { + color: #8f959e; + } + } + } } .input-icon {