pull/1/head
戴余标 3 years ago
commit 7e9a50d51b

@ -94,6 +94,11 @@ class _SelectCommunityState extends State<SelectCommunity> {
); );
var selectCommunity = GestureDetector( var selectCommunity = GestureDetector(
onTap: () async { onTap: () async {
if (UserTool.appProvider.pickedCityAndCommunity?.cityModel==null) {
BotToast.showText(text: '请选择城市');
return ;
}
var cancel = BotToast.showLoading(); var cancel = BotToast.showLoading();
List<CommunityModel> _communities = []; List<CommunityModel> _communities = [];
var base = await NetUtil().get(SAASAPI.login.allCommunity, params: { var base = await NetUtil().get(SAASAPI.login.allCommunity, params: {

Loading…
Cancel
Save