getlocation fail 1是什么错

发布于 6 年前作者 tdai5404 次浏览最后编辑 6 年前来自 ask

授权之后直接走了fail的方法 返回 getLocation fail 1 这是什么错 求解 手机型号iPhone6s

wx.getLocation({

type: ‘wgs84’,

success: function (res) {

},fail:function(res){

}

})

1 回复
chengguiying
chengguiying1 楼4 年前

可以参考以下帖子的回复哈:

获取位置信息
https://developers.weixin.qq.com/community/develop/doc/00020a1dfd0538a08897ef8f451400