Browse Source

🚑 交接点没有地图数据也能展示处理

master
wangxiang 3 years ago
parent
commit
96b096e5df
  1. 1
      src/components/AMap/src/AMapDesigner/index.vue

1
src/components/AMap/src/AMapDesigner/index.vue

@ -744,7 +744,6 @@ @@ -744,7 +744,6 @@
/** 绘制地图导航路线 */
function drawMapNavigate(points: MapLogisticPoint[] = []) {
debugger;
points = points.filter(item => item.lng && item.lat);
if (points.length > 0 && mapState.mapData.courierLng && mapState.mapData.courierLat) {
const lngLats = points.map(item => new AMap.LngLat(item.lng, item.lat));

Loading…
Cancel
Save