소스 검색

修复

master
huxinglu 4 년 전
부모
커밋
57a901494e
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. +6
    -2
      src/views/command/index.vue

+ 6
- 2
src/views/command/index.vue 파일 보기

@@ -180,7 +180,6 @@
me.addBound2();
me.map.setFitView(this.polygonList)
me.getDriver()
me.loading = false
});
},
computed: {
@@ -419,10 +418,14 @@
let me = this
setTimeout(function () {
let marker = me.markerList.find(item => item.childData.id == child.id)
me.questionId=child.id
if (marker) {
me.questionId=child.id
me.InfoWindow.open(me.map, marker.getPosition());
}
let findDriver = me.driverDataList.find(item => item.id == child.driverId)
if (findDriver&&findDriver.pointList&&findDriver.pointList.length>0) {
me.InfoWindow.open(me.map, new AMap.LngLat(findDriver.pointList[0].x, findDriver.pointList[0].y));
}
me.checkDriver(child.driverId)
}, 500)
},
@@ -443,6 +446,7 @@
this.driverList.push(polygons)
}
})
this.loading = false
}).catch(e => {
});
},

Loading…
취소
저장