From de64e687bfe92ab87fcf796e75b42cfca3685342 Mon Sep 17 00:00:00 2001 From: zhang <494089941@qq.com> Date: Wed, 21 Oct 2020 16:23:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=E5=AF=86=E7=A0=81=E9=AA=8C=E8=AF=81=EF=BC=88=E5=86=99=E6=AD=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/sign/sign_in_page.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pages/sign/sign_in_page.dart b/lib/pages/sign/sign_in_page.dart index 44263847..e7df6d2f 100644 --- a/lib/pages/sign/sign_in_page.dart +++ b/lib/pages/sign/sign_in_page.dart @@ -8,6 +8,7 @@ import 'package:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/assets_image.dart'; import 'package:flutter_screenutil/screenutil.dart'; +import 'package:oktoast/oktoast.dart'; class SignInPage extends StatefulWidget { SignInPage({Key key}) : super(key: key); @@ -123,7 +124,8 @@ class _SignInPageState extends State { InkWell _inkWellLogin() { return InkWell( onTap: () { - ARoute.push(context, UserAuthenticationPage()); + (_phone.text=='17855823545')&&(_code.text=='000000')? + ARoute.push(context, UserAuthenticationPage()):showToast('账号或验证码错误!'); }, child: Container( alignment: Alignment.center,