项目首页地图加载不出问题修改
parent
d97a9e3217
commit
15af787406
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="home-page">
|
||||
<div style="width: 100%;height: calc(100vh - 80px);">
|
||||
<Map :airRoute="airRoute" @mapOnLoad="mapOnLoad" :homeAirport="airPort" @clickAirPort="clickAirPort" @changeAirportLive="changeAirportLive" @changeUAVLive="changeUAVLive"/>
|
||||
<Map :airLineForm="airLineForm" @mapOnLoad="mapOnLoad" :homeAirport="airPort" @clickAirPort="clickAirPort" @changeAirportLive="changeAirportLive" @changeUAVLive="changeUAVLive"/>
|
||||
</div>
|
||||
<div ref="leftComponentRef" style="position: absolute;top: 0px;left: 0px;">
|
||||
<!-- 项目列表 -->
|
||||
|
|
@ -42,12 +42,7 @@ import { useRouter } from 'vue-router';
|
|||
import { AirportLive, LivePreview } from '@/views/demo/workmanagement/flightoperation/index'
|
||||
|
||||
const router = useRouter();
|
||||
const airRoute = ref({
|
||||
airLineType: null,
|
||||
airType: null,
|
||||
airModel: null,
|
||||
name: null,
|
||||
});
|
||||
const airLineForm = ref({});
|
||||
const airPort = ref({
|
||||
latitude: null,
|
||||
longitude: null,
|
||||
|
|
|
|||
Loading…
Reference in New Issue