From a4cfd0c380236751dba94280cbe800b8c192d17f Mon Sep 17 00:00:00 2001 From: Yige Date: Sun, 12 Mar 2023 19:29:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=9C=80=E5=A4=A7?= =?UTF-8?q?=E8=A1=8C=E6=95=B0=E4=B8=8E=E5=AE=98=E6=96=B9=E4=BF=9D=E6=8C=81?= =?UTF-8?q?=E4=B8=80=E8=87=B4=20(#502)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: rename environment variables files * docs: update README.md about .env file * feat: support long reply * chore: upgrade chatgpt package and set long reply to false default * chore: set long reply to false default * fix: change maxRows to 8 * feat: mobile max row --------- Co-authored-by: ChenZhaoYu <790348264@qq.com> --- src/views/chat/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/chat/index.vue b/src/views/chat/index.vue index 25eb729cca..9d1e1c691a 100644 --- a/src/views/chat/index.vue +++ b/src/views/chat/index.vue @@ -527,7 +527,7 @@ onUnmounted(() => { v-model:value="prompt" type="textarea" :placeholder="placeholder" - :autosize="{ minRows: 1, maxRows: 2 }" + :autosize="{ minRows: 1, maxRows: isMobile ? 4 : 8 }" @input="handleInput" @focus="handleFocus" @blur="handleBlur"