From 4a1a9c73bed7f005dc877cdb5fe0d8f6ad109bc8 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Thu, 13 Jun 2024 17:22:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=20=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=88=A0=E9=99=A4=E5=8A=9F=E8=83=BD=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/components/ai-chat/index.vue | 12 ++++-------- ui/src/components/common-list/index.vue | 11 ++++++++++- ui/src/views/chat/embed/index.vue | 17 +++++++++-------- ui/src/views/chat/pc/index.vue | 11 +++++++++-- 4 files changed, 32 insertions(+), 19 deletions(-) diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index 83f4d0107..02bf02f6f 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -146,7 +146,7 @@ ref="quickInputRef" v-model="inputValue" placeholder="请输入" - :autosize="{ minRows: 1, maxRows: 4 }" + :autosize="{ minRows: 1, maxRows: common.isMobile() ? 4 : 10 }" type="textarea" :maxlength="100000" @keydown.enter="sendChatHandle($event)" @@ -173,7 +173,7 @@