安卓的wx.getLocation总是失败呢,手机定位确定已开
wx.getLocation({
type: 'gcj02 ',
success: function (res) {
console.log(res,“定位打开了”
},
fail: function () {
console.log(“定位关闭了”)
}
})
wx.getLocation({
type: 'gcj02 ',
success: function (res) {
console.log(res,“定位打开了”
},
fail: function () {
console.log(“定位关闭了”)
}
})