CzRger 2 years ago
parent
commit
29bffc99f2
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/views/init-speed-track/index.vue

+ 6 - 0
src/views/init-speed-track/index.vue

@@ -82,6 +82,7 @@ import { Geometry } from 'ol/geom';
 import { EventsKey } from 'ol/events';
 import { Coordinate } from 'ol/coordinate';
 import TrackStyle from './track-style'
+import axios from "axios";
 
 export default defineComponent({
   name: 'App',
@@ -372,6 +373,11 @@ export default defineComponent({
         list: []
       });
       console.log(result)
+      axios.post("/init-speed-track-api/hujie-track-server/mock", [result], {
+        contentType: "application/json"
+      }).then(res => {
+        console.log(res)
+      })
     }
     const trackShowListCom = computed(() => {
       return state.trackList.filter((v: { show: any; }) => v.show)