提交 d3e3bfb7 编写于 作者: 张敬贤's avatar 张敬贤

add

上级 e5c01ee7
...@@ -314,7 +314,7 @@ export default { ...@@ -314,7 +314,7 @@ export default {
// 高德地图导航只有在线上环境才能使用 // 高德地图导航只有在线上环境才能使用
initMap() { initMap() {
const result = store.get('geolocation'); const result = store.get('geolocation');
if (!result) { if (result) {
console.log('geolocation', result); console.log('geolocation', result);
this.position.latitude = result.lat || ''; this.position.latitude = result.lat || '';
this.position.longitude = result.lng || ''; this.position.longitude = result.lng || '';
......
...@@ -136,8 +136,8 @@ export default { ...@@ -136,8 +136,8 @@ export default {
this.dectionForm.detectName = dectionData.detectionName; this.dectionForm.detectName = dectionData.detectionName;
this.dectionForm.goodsId = dectionData.goodsId; this.dectionForm.goodsId = dectionData.goodsId;
this.$store.dispatch('home/setInsuranceInfo', dectionData); this.$store.dispatch('home/setInsuranceInfo', dectionData);
this.$loading.hide();
} }
this.$loading.hide();
}); });
}, },
// 获取跳转状态 // 获取跳转状态
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册