CzRger 1 semana atrás
pai
commit
366b99b767
1 arquivos alterados com 11 adições e 11 exclusões
  1. 11 11
      src/stores/ship-map/ship-map.ts

+ 11 - 11
src/stores/ship-map/ship-map.ts

@@ -54,17 +54,17 @@ export const useShipMapStore = defineStore('shipMap', () => {
     //   }
     // }]]
     trackKeys: {
-      lon: 'target_longitude',
-      lat: 'target_latitude',
-      speed: 'target_speed',
-      course: 'target_course',
-      mergeType: 'merge_type',
-      mergeTime: 'merge_time',
-      mergeTarget: 'merge_target',
-      mergeId: 'merge_id',
-      targetName: 'target_name',
-      targetSourceJson: 'target_source',
-      shipId: 'ship_archive_id',
+      lon: 'targetLongitude',
+      lat: 'targetLatitude',
+      speed: 'targetSpeed',
+      course: 'targetCourse',
+      mergeType: 'mergeType',
+      mergeTime: 'mergeTime',
+      mergeTarget: 'mergeTarget',
+      mergeId: 'mergeId',
+      targetName: 'targetName',
+      targetSourceJson: 'targetSource',
+      shipId: 'shipArchiveId',
     }
   })
   const initMap = (map, mapFunc, {trackPointDom}) => {