chore: 菜单图标列没有居中对齐

This commit is contained in:
dap 2024-10-20 17:51:50 +08:00
parent 88a722a298
commit 4ea9b0d342

View File

@ -73,7 +73,9 @@ export const columns: VxeGridProps['columns'] = [
if (row?.icon === '#') {
return '';
}
return renderIcon(row.icon);
return (
<span class={'flex justify-center'}>{renderIcon(row.icon)}</span>
);
},
},
},