1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-04-06 03:57:53 +08:00

Merge e29b1188bb2c66d07ba3b06efc3844e45210b1e8 into 6858a9ad67483025f6a9432a926beb9327037be3

This commit is contained in:
JerryCousin 2024-11-28 00:30:59 +00:00 committed by GitHub
commit e4f46058ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,8 +7,8 @@
</el-menu-item> </el-menu-item>
</app-link> </app-link>
</template> </template>
<!-- ResolvePath() used here, will cause the path repeat, such as nested menu `/nested/menu1` will wrong stitching for `/nested/menu1/menu1`,fix with `basePath` -->
<el-submenu v-else ref="subMenu" :index="resolvePath(item.path)" popper-append-to-body> <el-submenu v-else ref="subMenu" :index="basePath" popper-append-to-body>
<template slot="title"> <template slot="title">
<item v-if="item.meta" :icon="item.meta && item.meta.icon" :title="item.meta.title" /> <item v-if="item.meta" :icon="item.meta && item.meta.icon" :title="item.meta.title" />
</template> </template>