map组件执行方法不生效fromScreenLocation
https://developers.weixin.qq.com/miniprogram/dev/api/media/map/MapContext.fromScreenLocation.html 为什么这个方法调用不生效, map.fromScreenLocation({ x: 100, y: 100, success: (res) => { console.log('成功'); console.log(res); that.locationInfo.lat = res.latitude.toFixed(6) that.locationInfo.lng = res.longitude.toFixed(6) that.searchLocation() }, complete: () => { console.log('完成'); } })