mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-05 11:18:42 +08:00
Merge e29b1188bb2c66d07ba3b06efc3844e45210b1e8 into 6858a9ad67483025f6a9432a926beb9327037be3
This commit is contained in:
commit
e4f46058ba
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user