| | |
| | | <li @click="numberControls(true, 100, 'globalHeight')">+100</li> |
| | | <li @click="numberControls(true, 10, 'globalHeight')">+10</li> |
| | | <li> |
| | | <span>{{ Number(folderSetting.globalHeight) }}</span> m |
| | | <span>{{ Math.round(folderSetting.globalHeight) }}</span> m |
| | | </li> |
| | | <li @click="numberControls(false, 100, 'globalHeight')">-100</li> |
| | | <li @click="numberControls(false, 10, 'globalHeight')">-10</li> |
| | |
| | | import useMapDraw from '/@/utils/cesium/use-map-draw' |
| | | import { getKmlParams } from '/@/utils/cesium/kmz' |
| | | import { cesiumOperation } from '/@/hooks/use-cesium-tsa' |
| | | import { message } from 'ant-design-vue' |
| | | import type { missionConfig, payloadParam as payloadParamConfig, Folder } from '/@/utils/cesium/types/kml' |
| | | const { appContext }: any = getCurrentInstance() |
| | | const global = appContext.config.globalProperties |
| | |
| | | if (missionConfigSetting[key]) { |
| | | missionConfigSetting[key] -= computeVal |
| | | } else { |
| | | if (folderSetting[key] - computeVal <= 0) { |
| | | return message.warn('飞行高度较低!!!!') |
| | | } |
| | | folderSetting[key] -= computeVal |
| | | } |
| | | } |