mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-08 01:17:23 +08:00
fix: 修复当左侧菜单收起后,切换到horizontal
导航模式时文字不展示的问题
This commit is contained in:
parent
fad1db8c57
commit
3ee8c51f90
@ -274,6 +274,9 @@ function resolvePath(routePath) {
|
||||
:is="useRenderIcon(props.item.meta && toRaw(props.item.meta.icon))"
|
||||
/>
|
||||
</div>
|
||||
<span v-if="layout === 'horizontal'">
|
||||
{{ transformI18n(props.item.meta.title) }}
|
||||
</span>
|
||||
<div
|
||||
:style="getSubMenuDivStyle(props.item)"
|
||||
v-if="
|
||||
@ -284,9 +287,6 @@ function resolvePath(routePath) {
|
||||
)
|
||||
"
|
||||
>
|
||||
<span v-if="layout === 'horizontal'">
|
||||
{{ transformI18n(props.item.meta.title) }}
|
||||
</span>
|
||||
<el-tooltip
|
||||
v-if="layout !== 'horizontal'"
|
||||
placement="top"
|
||||
|
Loading…
x
Reference in New Issue
Block a user