Browse Source

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

cuiyalong 1 năm trước cách đây
mục cha
commit
28e8354699

+ 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">