Skip to content

Commit 163a1bf

Browse files
yi-geChanzhaoyu
authored andcommitted
fix: 修改最大行数与官方保持一致 (Chanzhaoyu#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>
1 parent e3f25b7 commit 163a1bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/chat/index.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ onUnmounted(() => {
527527
v-model:value="prompt"
528528
type="textarea"
529529
:placeholder="placeholder"
530-
:autosize="{ minRows: 1, maxRows: 2 }"
530+
:autosize="{ minRows: 1, maxRows: isMobile ? 4 : 8 }"
531531
@input="handleInput"
532532
@focus="handleFocus"
533533
@blur="handleBlur"

0 commit comments

Comments
 (0)