From 30d99681f601fcb38d4de45533e5991d8658d84b Mon Sep 17 00:00:00 2001 From: datang Date: Fri, 25 Mar 2022 09:25:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=A0=E6=AD=A3=E7=82=B9=E5=87=BB=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E8=AF=84=E8=AE=BA=E6=89=93=E5=AD=97=E9=94=AE=E7=9B=98?= =?UTF-8?q?=E6=9C=AA=E6=B6=88=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ui/community/community_views/event_detail_page.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/ui/community/community_views/event_detail_page.dart b/lib/ui/community/community_views/event_detail_page.dart index 632e6d4c..9a60d276 100644 --- a/lib/ui/community/community_views/event_detail_page.dart +++ b/lib/ui/community/community_views/event_detail_page.dart @@ -567,6 +567,7 @@ class _EventDetailPageState extends State { color: kPrimaryColor, minWidth: 120.w, height: 55.w, + onPressed: () async { var res = await NetUtil() .post(SAASAPI.community.commentInsert, params: params); @@ -582,6 +583,7 @@ class _EventDetailPageState extends State { } else { BotToast.showText(text: res.msg); } + FocusScope.of(context).requestFocus(FocusNode()); }, child: Text( '发布', @@ -592,6 +594,7 @@ class _EventDetailPageState extends State { ), ) ], - )); + ) + ); } }