| leafletMapOur/grabOrdersMap/js/vueMain.js | ●●●●● patch | view | raw | blame | history |
leafletMapOur/grabOrdersMap/js/vueMain.js
@@ -359,7 +359,16 @@ if (!res.state) { console.log(res) if (typeof res.intlat === "string") { window.parent.showTip("获取定位失败") // that.parent.showTip("获取定位失败") //向uniapp传值 uni.postMessage({ data: { action: 'message' } }); uni.getEnv(function(res) { console.log('当前环境:' + JSON.stringify(res)); }); } else { that.addIcon([res.intlat[1], res.intlat[0]]); }