mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2026-09-15 16:28:33 +08:00
fix 修复菜单图标为空和#不对齐的情况
This commit is contained in:
parent
33fb49d683
commit
0a903726b1
@ -75,7 +75,7 @@
|
|||||||
<el-table-column prop="menuName" label="菜单名称" :show-overflow-tooltip="true" width="220">
|
<el-table-column prop="menuName" label="菜单名称" :show-overflow-tooltip="true" width="220">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<div class="menu-name-cell">
|
<div class="menu-name-cell">
|
||||||
<svg-icon v-if="scope.row.icon" :icon-class="scope.row.icon" />
|
<svg-icon v-show="scope.row.icon" :icon-class="scope.row.icon" />
|
||||||
<span class="menu-name-text">{{ scope.row.menuName }}</span>
|
<span class="menu-name-text">{{ scope.row.menuName }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user