真机测试,在web-view页面中调用wx.openLocation()会报错。是需要授权吗?
发布于 6 年前 作者 houqiang 2342 次浏览 来自 问答

错误提示:errMsg: “openLocation:the permission value is offline verifying”。

2 回复

wx.config wx.checkJsApi

openLocation方法传递的参数:{ latitude: 22.46110799, longitude: 113.96530151, name: “测试”, address: “香港特别行政区元朗区”, scale: 15, … }

回到顶部