|
@@ -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)
|