|
@@ -43,15 +43,15 @@ import { getAssetsFile } from '@/utils/require'
|
|
|
import { hexToRgb, wait } from '@/utils/tools'
|
|
|
import {
|
|
|
clearAllShapes,
|
|
|
- startSceneDemo,
|
|
|
initSceneDemo,
|
|
|
+ renderBreakIntoArea,
|
|
|
renderShapes,
|
|
|
+ startSceneDemo,
|
|
|
+ toggleGlobalUav,
|
|
|
toggleTrackLine,
|
|
|
- renderBreakIntoArea,
|
|
|
} from '@/utils/ueActions'
|
|
|
import { getCurrentInstance, onBeforeMount, onBeforeUnmount, reactive, ref, watch } from 'vue'
|
|
|
import FloatPanelUav from './FloatPanelUav.vue'
|
|
|
-import { toggleGlobalUav } from '@/utils/ueActions'
|
|
|
|
|
|
const { proxy } = getCurrentInstance()
|
|
|
|
|
@@ -118,7 +118,7 @@ function toggleOption(target) {
|
|
|
let routeList = []
|
|
|
|
|
|
function getData() {
|
|
|
- listData.value.forEach((row) => (row.count = 5))
|
|
|
+ listData.value.forEach((row) => (row.count = 1))
|
|
|
|
|
|
GetRouteList()
|
|
|
.then((res) => {
|
|
@@ -190,10 +190,11 @@ function handleCloseInfo() {
|
|
|
uavInfoShow.value = false
|
|
|
initSceneDemo()
|
|
|
panelStore.setWeather('Clear Skies')
|
|
|
- if ((currentDemo.value.value = 'BreakInto')) {
|
|
|
+ if (currentDemo.value.value === 'BreakInto') {
|
|
|
renderBreakIntoArea(false)
|
|
|
}
|
|
|
showSingleLine.value = false
|
|
|
+ currentDemo.value = false
|
|
|
}
|
|
|
|
|
|
let currentLineId
|
|
@@ -292,7 +293,7 @@ onBeforeMount(() => {
|
|
|
}
|
|
|
case 'FlightOver': {
|
|
|
if (currentDemo.value) {
|
|
|
- if ((currentDemo.value.value = 'BreakInto')) {
|
|
|
+ if (currentDemo.value.value === 'BreakInto') {
|
|
|
renderBreakIntoArea(false)
|
|
|
}
|
|
|
handleCloseInfo()
|