guoshilong
2023-11-13 54849757852f6ab40eb17afbd03d1d839b60a38d
src/components/common/sidebar.vue
@@ -60,7 +60,8 @@
      { 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) {
@@ -77,6 +78,8 @@
        await UnBind(v)
      })
      store.commit('SET_OSD_VISIBLE_INFO', { ...query, visible: false })
      store.commit('SET_SELECT_WAYLINE_INFO', {})
      store.commit('SET_SELECT_DOCK_INFO', {})
      root.$router.push('/' + ERouterName.PROJECT_LIST)
    }
    return {