From f27ca082eb0a839449dd50c49007b58e5ed6946f Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 19 Jun 2025 19:08:01 +0800
Subject: [PATCH] feat: 服务名修改

---
 src/components/common/sidebar.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/components/common/sidebar.vue b/src/components/common/sidebar.vue
index 433e2b1..c70f83c 100644
--- a/src/components/common/sidebar.vue
+++ b/src/components/common/sidebar.vue
@@ -56,11 +56,12 @@
     const options = [
       { key: 0, label: '团队', path: '/' + ERouterName.TSA, icon: 'TeamOutlined' },
       // { key: 1, label: '直播', path: '/' + ERouterName.LIVESTREAM, icon: 'VideoCameraOutlined' },
-      { key: 2, label: '标注', path: '/' + ERouterName.LAYER, icon: 'EnvironmentOutlined' },
+      // { 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: 6, label: '设备', path: '/' + ERouterName.IMPLEMENT, icon: 'ClusterOutlined' }
+      { key: 6, label: '设备', path: '/' + ERouterName.IMPLEMENT, icon: 'ClusterOutlined' },
+      { key: 7, label: '历史航线', path: '/' + ERouterName.ROUTE_HISTORY, icon: 'StockOutlined' }
     ]
     const store = useMyStore()
     function selectedRoute (item: IOptions) {
@@ -74,7 +75,8 @@
     async function goBack () {
       const query = toRefs(osdVisible.value)
       snList.value.forEach(async (v: string) => {
-        await UnBind(v)
+        // TODO:暂时注释
+        // await UnBind(v)
       })
       store.commit('SET_OSD_VISIBLE_INFO', { ...query, visible: false })
       store.commit('SET_SELECT_WAYLINE_INFO', {})

--
Gitblit v1.9.3