Browse Source

fix 修复eslint 警告

ahao 1 year ago
parent
commit
b112b793d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/layout/components/Sidebar/index.vue

+ 1 - 1
src/layout/components/Sidebar/index.vue

@@ -13,7 +13,7 @@
           :collapse-transition="false"
           mode="vertical"
         >
-          <sidebar-item v-for="(route, index) in sidebarRouters" :key="route.path + index" :item="route" :base-path="route.path" />
+          <sidebar-item v-for="(r, index) in sidebarRouters" :key="r.path + index" :item="r" :base-path="r.path" />
         </el-menu>
       </transition>
     </el-scrollbar>