chore: 菜单图标列没有居中对齐
This commit is contained in:
@@ -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>
|
||||
);
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user