Browse Source

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

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

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

@ -837,9 +837,10 @@
mapState.mapData.mapTask = []; mapState.mapData.mapTask = [];
mapState.mapData.mapLogisticPoint = []; mapState.mapData.mapLogisticPoint = [];
setTableData([]); setTableData([]);
driving?.clear();
// //
map?.setZoomAndCenter(mapState.mapConfig.options.zoom, mapState.mapConfig.options.center); map?.setZoomAndCenter(mapState.mapConfig.options.zoom, mapState.mapConfig.options.center);
driving?.clear();
}); });
} }

Loading…
Cancel
Save