refactor: 合并菜单管理图标和标题列

This commit is contained in:
Charles7c 2023-09-11 20:44:36 +08:00
parent 61ac1e0a27
commit 36d38aec16

View File

@ -115,10 +115,10 @@
@selection-change="handleSelectionChange"
>
<template #columns>
<a-table-column title="菜单标题" data-index="title" />
<a-table-column title="图标" align="center">
<a-table-column title="菜单标题">
<template #cell="{ record }">
<svg-icon :icon-class="record.icon ? record.icon : ''" />
{{ record.title }}
</template>
</a-table-column>
<a-table-column title="排序" align="center" data-index="sort" />