Explorar o código

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

RuoYi %!s(int64=2) %!d(string=hai) anos
pai
achega
baa3cdffb5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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"