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