refactor: elsubmenu的popper-append-to-body修改为teleported
Former-commit-id: 24ccb393d074da19f54f1f3cdef76f32ca3a6ae0
This commit is contained in:
@@ -101,7 +101,7 @@ function resolvePath(routePath: string) {
|
|||||||
</template>
|
</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>
|
<template #title>
|
||||||
<svg-icon
|
<svg-icon
|
||||||
v-if="item.meta && item.meta.icon"
|
v-if="item.meta && item.meta.icon"
|
||||||
|
|||||||
Reference in New Issue
Block a user