From 9dfbbf84f8409a78a897b5df329099d6e7a1daff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E8=90=8C?= <494089941@qq.com> Date: Tue, 31 May 2022 14:43:23 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=9F=8E=E5=B8=82=E5=89=8D?= =?UTF-8?q?=E4=B8=8D=E5=8F=AF=E9=80=89=E6=8B=A9=E5=B0=8F=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/sign/login/select_community_page.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/pages/sign/login/select_community_page.dart b/lib/pages/sign/login/select_community_page.dart index 6a508f50..38519aac 100644 --- a/lib/pages/sign/login/select_community_page.dart +++ b/lib/pages/sign/login/select_community_page.dart @@ -94,6 +94,11 @@ class _SelectCommunityState extends State { ); var selectCommunity = GestureDetector( onTap: () async { + + if (UserTool.appProvider.pickedCityAndCommunity?.cityModel==null) { + BotToast.showText(text: '请选择城市'); + return ; + } var cancel = BotToast.showLoading(); List _communities = []; var base = await NetUtil().get(SAASAPI.login.allCommunity, params: {