fix: 修改最大行数与官方保持一致 (#502)

* 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>
This commit is contained in:
Yige 2023-03-12 19:29:04 +08:00 committed by GitHub
parent 86d720ecee
commit a4cfd0c380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -527,7 +527,7 @@ onUnmounted(() => {
v-model:value="prompt" v-model:value="prompt"
type="textarea" type="textarea"
:placeholder="placeholder" :placeholder="placeholder"
:autosize="{ minRows: 1, maxRows: 2 }" :autosize="{ minRows: 1, maxRows: isMobile ? 4 : 8 }"
@input="handleInput" @input="handleInput"
@focus="handleFocus" @focus="handleFocus"
@blur="handleBlur" @blur="handleBlur"