fix 修复菜单图标为空和#不对齐的情况

This commit is contained in:
YueYe 2026-06-29 17:28:36 +08:00
parent 33fb49d683
commit 0a903726b1

View File

@ -75,7 +75,7 @@
<el-table-column prop="menuName" label="菜单名称" :show-overflow-tooltip="true" width="220">
<template #default="scope">
<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>
</div>
</template>