@ -26,10 +26,6 @@ Page({
goMap () {
console.log("123")
let that = this
wx.getLocation({
type: 'gcj02', //返回可以用于wx.openLocation的经纬度
success (res) {
console.log(res);
wx.openLocation({
latitude: Number(that.data.storeInfo.lat),
longitude: Number(that.data.storeInfo.lng),
@ -38,11 +34,6 @@ Page({
scale: 18
})
},
fail (res) {
console.log(res)
}
/**
* 生命周期函数--监听页面显示
*/