代码:
openMap() {
let that = this;
uni.openLocation({
latitude: that.contactInfo.latitude,
longitude: that.contactInfo.longitude
});
},
错误:
15:07:54.179 [ERROR] : ReferenceError: Can't find variable: nanfile name:uniappopenlocation.htmlline no:1
15:07:54.200 [ERROR] : uniappopenlocation.html:1:483
已经确认了高德地图的appkey是正确的,且内嵌式地图内显示出来,只有打开某一地址会出错。