| | |
| | | |
| | | const list3 = computed(() => [ |
| | | { name: '自动控制', svg: 'autoControl', style: { top: '-70%' }, active: isAutoControl.value, handle: autoControl }, |
| | | //如果是返航, 继续任务 就是自动任务 |
| | | //如果是取消返航, 继续任务 就是自动任务 |
| | | { name: '继续任务', svg: 'continueTask', style: { left: '70%' }, active: false, handle: autoControl }, |
| | | { |
| | | name: '手动控制', |
| | |
| | | ]) |
| | | |
| | | function autoControl() { |
| | | isAutoControl.value = true |
| | | EventBus.emit('controlPanel-cancelControl') |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | function turnBack() { |
| | | isAutoControl.value = true |
| | | EventBus.emit('controlPanel-returnOrCancelReturn') |
| | | } |
| | | </script> |