|
@@ -264,7 +264,7 @@ export default class HomePage extends Component {
|
|
|
//避免关闭自动移动地图后无法点击按钮移动地图
|
|
//避免关闭自动移动地图后无法点击按钮移动地图
|
|
|
this.refresh = true
|
|
this.refresh = true
|
|
|
}
|
|
}
|
|
|
- console.log("checkPermission2Geo", refresh, this.state.lastRegion);
|
|
|
|
|
|
|
+ console.log("checkPermission2Geo", refresh, button);
|
|
|
this.checkGPS();
|
|
this.checkGPS();
|
|
|
if (this.state.hasPermission) {
|
|
if (this.state.hasPermission) {
|
|
|
this.infoGeoLocation();
|
|
this.infoGeoLocation();
|