新增访客邀请页面跳转逻辑修改

hmxc
小赖 4 years ago
parent 243151b462
commit 28c9919f23

@ -325,7 +325,7 @@ class _VisitorAccessPageState extends State<VisitorAccessPage> {
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<VisitorAccessPage> {
return BeeScaffold(
title: '访客通行',
actions: [
InkWell(
onTap: () {
MaterialButton(
onPressed: () {
VisitorRecordPage().to();
},
child: Container(

Loading…
Cancel
Save