| | |
| | | |
| | | // 单个机巢信息 |
| | | const singleUavHome = computed(() => store.state.home.singleUavHome) |
| | | const osdVisible = computed(() => store.state.home.osdVisible); |
| | | |
| | | const isMore = ref(true) |
| | | // 控制加载状态 |
| | |
| | | } |
| | | }) |
| | | |
| | | // 监听如果当前任务飞行完毕,当前任务即消失 |
| | | watch(() => store.state.home.deviceState, async (newValue) => { |
| | | const deviceInfo = newValue?.deviceInfo[osdVisible.value.sn]; |
| | | if (!deviceInfo) return |
| | | // 重新刷新数据 |
| | | if (deviceInfo?.mode_code === 14) { |
| | | getJobList() |
| | | } |
| | | }); |
| | | |
| | | const { init: initTaskWayline, removeEntitys } = useTaskWayline() |
| | | |
| | | onMounted(async () => { |