소스 검색

[fix]修复聊天输入框的问题

zk 1 년 전
부모
커밋
03fb6bddb9
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      lib/module/chat/view.dart

+ 3 - 3
lib/module/chat/view.dart

@@ -198,9 +198,9 @@ class ChatPage extends BasePage<ChatController> {
                         textInputAction: TextInputAction.newline,
                         cursorColor: ColorName.colorPrimary,
                         decoration: const BoxDecoration(),
-                        expands: true,
-                        maxLines: null,
-                        minLines: null,
+                        expands: false,
+                        minLines: 1,
+                        maxLines: 6,
                       ),
                     )),
                     GestureDetector(