mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11:24 +08:00
Fixed submenu route
This commit is contained in:
@@ -52,7 +52,13 @@
|
|||||||
<el-menu-item
|
<el-menu-item
|
||||||
v-for="(sub, index) in route.children"
|
v-for="(sub, index) in route.children"
|
||||||
:key="index"
|
:key="index"
|
||||||
:index="sub.path ?? ''"
|
:index="
|
||||||
|
sub.path
|
||||||
|
? route.path
|
||||||
|
? route.path + '/' + sub.path
|
||||||
|
: ''
|
||||||
|
: ''
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<el-icon>
|
<el-icon>
|
||||||
<component :is="sub.meta.icon" />
|
<component :is="sub.meta.icon" />
|
||||||
|
|||||||
Reference in New Issue
Block a user