refactor: elsubmenu的popper-append-to-body修改为teleported

Former-commit-id: 24ccb393d074da19f54f1f3cdef76f32ca3a6ae0
This commit is contained in:
haoxr
2023-02-20 23:56:39 +08:00
parent db44dd0c1c
commit 1bcde17179

View File

@@ -101,7 +101,7 @@ function resolvePath(routePath: string) {
</template>
<!-- 当前路由包含子路显示 -->
<el-sub-menu v-else :index="resolvePath(item.path)" popper-append-to-body>
<el-sub-menu v-else :index="resolvePath(item.path)" teleported>
<template #title>
<svg-icon
v-if="item.meta && item.meta.icon"