master
parent
61cff4805f
commit
b59c6d9f7e
|
@ -49,7 +49,7 @@
|
||||||
this.requestToken({
|
this.requestToken({
|
||||||
url: this.host + "/api/index/about",
|
url: this.host + "/api/index/about",
|
||||||
type: "post",
|
type: "post",
|
||||||
data: {
|
data: {
|
||||||
is_gome: 0,
|
is_gome: 0,
|
||||||
},
|
},
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
},
|
},
|
||||||
daohang() {
|
daohang() {
|
||||||
|
|
||||||
wx.getLocation({ //获取当前经纬度
|
uni.getLocation({ //获取当前经纬度
|
||||||
type: 'wgs84', //返回可以用于wx.openLocation的经纬度,官方提示bug: iOS 6.3.30 type 参数不生效,只会返回 wgs84 类型的坐标信息
|
type: 'wgs84', //返回可以用于wx.openLocation的经纬度,官方提示bug: iOS 6.3.30 type 参数不生效,只会返回 wgs84 类型的坐标信息
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
wx.openLocation({ //使用微信内置地图查看位置。
|
wx.openLocation({ //使用微信内置地图查看位置。
|
||||||
|
|
Loading…
Reference in New Issue