We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rest_xops/xops_qd/src/views/layout/components/Sidebar/SidebarItem.vue 中
<template v-for="child in item.children" v-if="!child.hidden"> <sidebar-item v-if="child.children&&child.children.length>0" :is-nest="true" :item="child" :key="child.path" :base-path="resolvePath(child.path)" class="nest-menu" /> <app-link v-else :to="resolvePath(child.path)" :key="child.name"> <el-menu-item :index="resolvePath(child.path)"> <item v-if="child.meta" :icon="child.meta.icon" :title="child.meta.title" /> </el-menu-item> </app-link> </template>
这里只判断无子菜单显示菜单,如果无子菜单并未判断是否显示
修改为:
<template v-for="child in item.children" v-if="!child.hidden"> <sidebar-item v-if="child.children&&child.children.length>0" :is-nest="true" :item="child" :key="child.path" :base-path="resolvePath(child.path)" class="nest-menu" /> <app-link v-else-if="!child.hidden" :to="resolvePath(child.path)" :key="child.name"> <el-menu-item :index="resolvePath(child.path)"> <item v-if="child.meta" :icon="child.meta.icon" :title="child.meta.title" /> </el-menu-item> </app-link> </template>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
rest_xops/xops_qd/src/views/layout/components/Sidebar/SidebarItem.vue 中
这里只判断无子菜单显示菜单,如果无子菜单并未判断是否显示
修改为:
The text was updated successfully, but these errors were encountered: