refactor: 菜单名称列宽度调整

Former-commit-id: ee7c9a6eb8d857d773a8734669303cbc90eb2c2b
This commit is contained in:
haoxr
2023-03-12 21:32:30 +08:00
parent 94bf3f8186
commit 7cb8c46ca9

View File

@@ -245,11 +245,13 @@ onMounted(() => {
default-expand-all
border
>
<el-table-column label="菜单名称">
<el-table-column label="菜单名称" width="200">
<template #default="scope">
<svg-icon
:icon-class="
scope.row.type === 'BUTTON' ? 'button' : scope.row.icon
scope.row.type === MenuTypeEnum.BUTTON
? 'button'
: scope.row.icon
"
/>
{{ scope.row.name }}