mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-08 01:17:23 +08:00
fix: layout
This commit is contained in:
parent
5efba00330
commit
e323411d1c
@ -271,7 +271,14 @@ function resolvePath(routePath) {
|
|||||||
{{ transformI18n(props.item.meta.title) }}
|
{{ transformI18n(props.item.meta.title) }}
|
||||||
</span>
|
</span>
|
||||||
<el-tooltip
|
<el-tooltip
|
||||||
v-else
|
v-if="
|
||||||
|
layout !== 'horizontal' &&
|
||||||
|
!(
|
||||||
|
isCollapse &&
|
||||||
|
toRaw(props.item.meta.icon) &&
|
||||||
|
props.item.parentId === null
|
||||||
|
)
|
||||||
|
"
|
||||||
placement="top"
|
placement="top"
|
||||||
:effect="tooltipEffect"
|
:effect="tooltipEffect"
|
||||||
:offset="-10"
|
:offset="-10"
|
||||||
@ -281,13 +288,6 @@ function resolvePath(routePath) {
|
|||||||
{{ transformI18n(props.item.meta.title) }}
|
{{ transformI18n(props.item.meta.title) }}
|
||||||
</template>
|
</template>
|
||||||
<span
|
<span
|
||||||
v-if="
|
|
||||||
!(
|
|
||||||
isCollapse &&
|
|
||||||
toRaw(props.item.meta.icon) &&
|
|
||||||
props.item.parentId === null
|
|
||||||
)
|
|
||||||
"
|
|
||||||
ref="menuTextRef"
|
ref="menuTextRef"
|
||||||
:style="getSubTextStyle"
|
:style="getSubTextStyle"
|
||||||
@mouseover="hoverMenu(props.item)"
|
@mouseover="hoverMenu(props.item)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user