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: {