|
|
@@ -169,7 +169,10 @@ class _RootPageState extends State<RootPage> {
|
|
|
district: value.district,
|
|
|
latitude: value.latitude,
|
|
|
longitude: value.longitude);
|
|
|
- EventBus().emit('getLocation');
|
|
|
+ if ( value.province!= '四川省' ||
|
|
|
+ value.city!= '成都市') {
|
|
|
+ EventBus().emit('getLocation');
|
|
|
+ }
|
|
|
} else if (Platform.isIOS) {
|
|
|
getAddressByLatitudeAndLongitude(value.latitude, value.longitude);
|
|
|
}
|