Skip to content

Commit 3a9c665

Browse files
committed
feat: change text input to dynamic rows height
1 parent 5057e06 commit 3a9c665

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/pageTypewriter/components/InputArea/WidgetInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const { text } = useTextInput();
1010
v-model="text"
1111
class="text-input"
1212
type="textarea"
13-
:rows="12"
13+
:autosize="{ minRows: 2, maxRows: 8 }"
1414
:autofocus="true"
1515
resize="none"
1616
placeholder="请输入文本内容…"

0 commit comments

Comments
 (0)