perf(projects): perf table columns style

This commit is contained in:
Soybean
2024-01-28 16:37:52 +08:00
parent 8a170eeebd
commit babdb5d5cc
2 changed files with 23 additions and 9 deletions

View File

@@ -54,20 +54,25 @@ const { columns, filteredColumns, data, loading, pagination, getData, searchPara
{
key: 'roleName',
title: $t('page.manage.role.roleName'),
align: 'center'
align: 'center',
minWidth: 120
},
{
key: 'roleCode',
title: $t('page.manage.role.roleCode')
title: $t('page.manage.role.roleCode'),
align: 'center',
minWidth: 120
},
{
key: 'roleDesc',
title: $t('page.manage.role.roleDesc')
title: $t('page.manage.role.roleDesc'),
minWidth: 120
},
{
key: 'roleStatus',
title: $t('page.manage.role.roleStatus'),
align: 'center',
width: 100,
render: row => {
if (row.roleStatus === null) {
return null;