Commit 28f262ca authored by 小费同学阿's avatar 小费同学阿 💬

客运服务

parent 02367be7
......@@ -918,6 +918,7 @@ export default {
},
/*地图加载完成*/
mapReady({BMap, map}) {
if (this.$route.params.start && this.$route.params.end) {
/*输入框赋值*/
this.navigator.form.start = this.$route.params.start
/*输入框赋值*/
......@@ -929,6 +930,7 @@ export default {
console.log("起始点传进来的经纬度", this.navigator.formControl.start.location)
console.log("目的地传进来的经纬度", this.navigator.formControl.end.location)
this.direction()
}
this.BMap = BMap
this.map = map
// 加载事故点
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment