From 60bb69f4cfc33cd0224e856afc2b00f6bc80e4d4 Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Mon, 25 Sep 2023 14:24:51 +0800
Subject: [PATCH] 无人机控制区分
---
src/components/common/sidebar.vue | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/components/common/sidebar.vue b/src/components/common/sidebar.vue
index fbd379a..9cbe1df 100644
--- a/src/components/common/sidebar.vue
+++ b/src/components/common/sidebar.vue
@@ -28,7 +28,7 @@
import { getRoot } from '/@/root'
import * as icons from '@ant-design/icons-vue'
import { ERouterName } from '/@/types'
-import { testUnBind } from '/@/api/manage'
+import { UnBind } from '/@/api/manage'
import { useMyStore } from '/@/store'
interface IOptions {
key: number
@@ -59,7 +59,8 @@
{ key: 2, label: '标注', path: '/' + ERouterName.LAYER, icon: 'EnvironmentOutlined' },
{ key: 3, label: '媒体库', path: '/' + ERouterName.MEDIA, icon: 'PictureOutlined' },
{ key: 4, label: '航线库', path: '/' + ERouterName.WAYLINE, icon: 'NodeIndexOutlined' },
- { key: 5, label: '计划库', path: '/' + ERouterName.TASK, icon: 'CalendarOutlined' }
+ { key: 5, label: '计划库', path: '/' + ERouterName.TASK, icon: 'CalendarOutlined' },
+ { key: 6, label: '设备', path: '/' + ERouterName.IMPLEMENT, icon: 'ClusterOutlined' }
]
const store = useMyStore()
function selectedRoute (item: IOptions) {
@@ -73,7 +74,7 @@
async function goBack () {
const query = toRefs(osdVisible.value)
snList.value.forEach(async (v: string) => {
- await testUnBind(v)
+ await UnBind(v)
})
store.commit('SET_OSD_VISIBLE_INFO', { ...query, visible: false })
root.$router.push('/' + ERouterName.PROJECT_LIST)
--
Gitblit v1.9.3