update Yi.RuoYi.Vue3/src/layout/components/Sidebar/SidebarItem.vue.

修复菜单折叠后的三级菜单显示位置错误问题

Signed-off-by: tyjctl <419999127@qq.com>
This commit is contained in:
tyjctl
2024-06-21 04:03:42 +00:00
committed by Gitee
parent 5db4fea3b5
commit 1c84757d1d

View File

@@ -9,7 +9,7 @@
</app-link>
</template>
<el-sub-menu v-else ref="subMenu" :index="resolvePath(item.path)" popper-append-to-body>
<el-sub-menu v-else ref="subMenu" :index="resolvePath(item.path)" teleported>
<template v-if="item.meta" #title>
<svg-icon :icon-class="item.meta && item.meta.icon" />
<span class="menu-title" :title="hasTitle(item.meta.title)">{{ item.meta.title }}</span>