解决了??求助
使用uni-app开发h5页面 唤起地图组件安卓设备卡顿,并且定位不准确?uni.chooseLocation({ success(res) { console.log(res) console.log('位置名称:' + res.name); console.log('详细地址:' + res.address); console.log('纬度:' + res.latitude); console.log('经度:' + res.longitude); }, complete(err) { console.log('结束' ) console.log(err) } }); 控制台报错:Ignored call to 'prompt()'. The document is sandboxed, and the 'allow-modals' keyword is not set. [Violation] Geolocation access has been blocked because of a Feature Policy applied to the current document. See https://goo.gl/EuHzyv for more details. [图片]
2021-04-23