From 28c9919f23a0736803ef66e8c83ac275bee91659 Mon Sep 17 00:00:00 2001 From: laiiihz Date: Mon, 8 Feb 2021 16:33:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=AE=BF=E5=AE=A2=E9=82=80?= =?UTF-8?q?=E8=AF=B7=E9=A1=B5=E9=9D=A2=E8=B7=B3=E8=BD=AC=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/visitor_access_page/visitor_access_page.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pages/visitor_access_page/visitor_access_page.dart b/lib/pages/visitor_access_page/visitor_access_page.dart index a51c8f0c..fd801cec 100644 --- a/lib/pages/visitor_access_page/visitor_access_page.dart +++ b/lib/pages/visitor_access_page/visitor_access_page.dart @@ -325,7 +325,7 @@ class _VisitorAccessPageState extends State { await ManagerFunc.insertVisitorInfo(id, type, _userName.text, _selectSex, tel, _userCarNum.text, dateTime); cancel(); - Get.back(); + Get.off(VisitorRecordPage()); }, child: Container( alignment: Alignment.center, @@ -367,8 +367,8 @@ class _VisitorAccessPageState extends State { return BeeScaffold( title: '访客通行', actions: [ - InkWell( - onTap: () { + MaterialButton( + onPressed: () { VisitorRecordPage().to(); }, child: Container(