Browse Source

fix: 工作桌面nav popover错位问题修复

cuiyalong 1 year ago
parent
commit
28e8354699
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/work-bench-frame/packages/components/Navbar/index.vue

+ 2 - 2
packages/work-bench-frame/packages/components/Navbar/index.vue

@@ -23,8 +23,8 @@
           <div
             class="nav-item"
             :class="nav.class"
-            v-for="(nav, index) in computedNaves"
-            :key="index"
+            v-for="nav in computedNaves"
+            :key="nav.icon"
             @click="onSelectNav(nav)"
           >
             <template v-if="nav.plugin">