guoshilong
2023-11-13 54849757852f6ab40eb17afbd03d1d839b60a38d
src/components/common/topbar.vue
@@ -50,7 +50,6 @@
watch(route, (newVal) => {
  if (newVal) {
    selected.value = newVal.path
    console.log(selected.value, '+++++')
  }
}, {
  immediate: true,
@@ -72,7 +71,7 @@
const options = [
  { key: 0, label: '项目', path: '/' + ERouterName.PROJECT_LIST },
  { key: 1, label: '人员管理', path: '/' + ERouterName.MEMBERS },
  { key: 2, label: '设备管理', path: '/' + ERouterName.DEVICES },
  // { key: 2, label: '设备管理', path: '/' + ERouterName.DEVICES },
  // { key: 3, label: ERouterName.FIRMWARES.charAt(0).toUpperCase() + ERouterName.FIRMWARES.substr(1), path: '/' + ERouterName.FIRMWARES },
]