feat: 菜单图标

This commit is contained in:
From-wh 2023-04-24 17:18:26 +08:00
parent 206145cfb6
commit 761d7f1f74

View File

@ -45,6 +45,11 @@
>
<vxe-table-column field="id" title="ID" tooltip min-width="70"></vxe-table-column>
<vxe-table-column field="menu_name" tree-node title="按钮名称" min-width="200"></vxe-table-column>
<vxe-table-column field="icon" title="图标" min-width="200" align="center">
<template v-slot="{ row }">
<Icon class="icon" :type="row.icon" />
</template>
</vxe-table-column>
<vxe-table-column field="api_url" title="接口路径" min-width="150">
<template v-slot="{ row }">
<span>{{ row.methods ? '[' + row.methods + '] ' + row.api_url : row.api_url }}</span>
@ -452,6 +457,9 @@ export default {
> .vxe-table--header-wrapper {
background: #fff !important;
}
.icon {
font-size: 20px;
}
}
.rule {