pull/4204/merge
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
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@
</el-menu-item>
</app-link>
</template>
<el-submenu v-else ref="subMenu" :index="resolvePath(item.path)" popper-append-to-body>
<!-- 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="basePath" popper-append-to-body>
<template slot="title">
<item v-if="item.meta" :icon="item.meta && item.meta.icon" :title="item.meta.title" />
</template>