Browse Source

增加路线

Caner 2 years ago
parent
commit
d11dfd94ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/map/map.vue

+ 1 - 1
src/components/map/map.vue

@@ -76,8 +76,8 @@ function checkBoxsChange(params:number[], mate:{actionType:string, value:number}
 
 
 onMounted(() => {
 onMounted(() => {
   mapService._initMap(props.zoom)
   mapService._initMap(props.zoom)
-  mapService._initMarks(props.Item.key, props.Item.contrlSelect.checked)
   if (props.Item.key === 'homePage') mapService.getLines()
   if (props.Item.key === 'homePage') mapService.getLines()
+  mapService._initMarks(props.Item.key, props.Item.contrlSelect.checked)
 })
 })
 
 
 // 车位置更新
 // 车位置更新