Przeglądaj źródła

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

zk 1 rok temu
rodzic
commit
03fb6bddb9
1 zmienionych plików z 3 dodań i 3 usunięć
  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(