Browse Source

优化开启TopNav后,菜单数量少时,显示。。。而不是更多菜单(I60WJG)

RuoYi 2 years ago
parent
commit
baa3cdffb5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/components/TopNav/index.vue

+ 1 - 0
src/components/TopNav/index.vue

@@ -3,6 +3,7 @@
     :default-active="activeMenu"
     mode="horizontal"
     @select="handleSelect"
+    :ellipsis="false"
   >
     <template v-for="(item, index) in topMenus">
       <el-menu-item :style="{'--theme': theme}" :index="item.path" :key="index" v-if="index < visibleNumber"