修复已知的问题
This commit is contained in:
parent
2a30217999
commit
a6048b79d0
|
|
@ -174,7 +174,7 @@ const setCurrentData = (data) => {
|
||||||
//飞行中
|
//飞行中
|
||||||
littleViewMode.value = 1
|
littleViewMode.value = 1
|
||||||
littleViewModeName.value = '舱外画面'
|
littleViewModeName.value = '舱外画面'
|
||||||
small_area_showType.value = 'video_in'
|
small_area_showType.value = 'video_out'
|
||||||
//不允许再修改了
|
//不允许再修改了
|
||||||
isModifedSmallScreen.value = true
|
isModifedSmallScreen.value = true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -111,6 +111,10 @@ const queryAirLine_AirPort = async () => {
|
||||||
if (res[0].value.code == 0) {
|
if (res[0].value.code == 0) {
|
||||||
//机场
|
//机场
|
||||||
currentAirPortInfo.value = res[0].value.data[0]
|
currentAirPortInfo.value = res[0].value.data[0]
|
||||||
|
if (!currentAirPortInfo.value.online) {
|
||||||
|
//强制退出
|
||||||
|
window.close()
|
||||||
|
}
|
||||||
airPortSocketStore.ceurrentAirPortData = currentAirPortInfo.value
|
airPortSocketStore.ceurrentAirPortData = currentAirPortInfo.value
|
||||||
|
|
||||||
airPortName.value = currentAirPortInfo.value.name
|
airPortName.value = currentAirPortInfo.value.name
|
||||||
|
|
@ -191,7 +195,12 @@ const queryAirPort = async () => {
|
||||||
let res = await queryAirportApi(params)
|
let res = await queryAirportApi(params)
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
currentAirPortInfo.value = res.data[0]
|
currentAirPortInfo.value = res.data[0]
|
||||||
|
if (!currentAirPortInfo.value.online) {
|
||||||
|
//强制退出
|
||||||
|
window.close()
|
||||||
|
}
|
||||||
airPortSocketStore.ceurrentAirPortData = currentAirPortInfo.value
|
airPortSocketStore.ceurrentAirPortData = currentAirPortInfo.value
|
||||||
|
|
||||||
// console.log(currentAirPortInfo.value)
|
// console.log(currentAirPortInfo.value)
|
||||||
|
|
||||||
// currentAirPortInfo.value.status = 2
|
// currentAirPortInfo.value.status = 2
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,7 @@ watch(
|
||||||
v-if="showType == 'map'"
|
v-if="showType == 'map'"
|
||||||
id="virturalDrive_iframe_full"
|
id="virturalDrive_iframe_full"
|
||||||
ref="virturalDrive_iframe"
|
ref="virturalDrive_iframe"
|
||||||
src="http://192.168.50.101:9009/examples/handler/VirturalDrive.html"
|
src="https://gisdata.t-aaron.com/virturalDrive/test/VirturalDrive.html"
|
||||||
class="w-full h-full"
|
class="w-full h-full"
|
||||||
@load="iframeLoaded"
|
@load="iframeLoaded"
|
||||||
></iframe>
|
></iframe>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue