Skip to content

Commit

Permalink
fix: 修改最大行数与官方保持一致 (Chanzhaoyu#502)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
2 people authored and jingChen55 committed Mar 27, 2023
1 parent e3f25b7 commit 163a1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/chat/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 163a1bf

Please sign in to comment.