refactor: ♻️ 布局组件命名优化
This commit is contained in:
1 parent
8a59b8ff84
commit
66216fbefd
3 files changed
+2
-2
No files matched your search
File renamed without changes.
+2
-2
@@ -13,7 +13,7 @@
|
|||||||
:index="resolvePath(onlyOneChild.path)"
|
:index="resolvePath(onlyOneChild.path)"
|
||||||
:class="{ 'submenu-title-noDropdown': !isNest }"
|
:class="{ 'submenu-title-noDropdown': !isNest }"
|
||||||
>
|
>
|
||||||
<MenuIconTitle
|
<SidebarMenuItemTitle
|
||||||
:icon="onlyOneChild.meta.icon || (item.meta && item.meta.icon)"
|
:icon="onlyOneChild.meta.icon || (item.meta && item.meta.icon)"
|
||||||
:title="onlyOneChild.meta.title"
|
:title="onlyOneChild.meta.title"
|
||||||
/>
|
/>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
<!-- 显示具有多个子路由的父菜单项 -->
|
<!-- 显示具有多个子路由的父菜单项 -->
|
||||||
<el-sub-menu v-else :index="resolvePath(item.path)" teleported>
|
<el-sub-menu v-else :index="resolvePath(item.path)" teleported>
|
||||||
<template #title>
|
<template #title>
|
||||||
<MenuIconTitle
|
<SidebarMenuItemTitle
|
||||||
v-if="item.meta"
|
v-if="item.meta"
|
||||||
:icon="item.meta && item.meta.icon"
|
:icon="item.meta && item.meta.icon"
|
||||||
:title="item.meta.title"
|
:title="item.meta.title"
|
||||||
Reference in new issue
Block a user