chore: 客户端管理 行高自适应

This commit is contained in:
dap 2024-12-16 19:14:12 +08:00
parent a216db37fe
commit 3d7f3aef58
2 changed files with 7 additions and 4 deletions

View File

@ -51,9 +51,13 @@ export const columns: VxeGridProps['columns'] = [
if (!row.grantTypeList) { if (!row.grantTypeList) {
return '无'; return '无';
} }
return renderDictTags( return (
row.grantTypeList, <div class="my-3">
getDict(DictEnum.SYS_GRANT_TYPE), {renderDictTags(
row.grantTypeList,
getDict(DictEnum.SYS_GRANT_TYPE),
)}
</div>
); );
}, },
}, },

View File

@ -63,7 +63,6 @@ const gridOptions: VxeGridProps = {
rowConfig: { rowConfig: {
isHover: true, isHover: true,
keyField: 'id', keyField: 'id',
height: 90,
}, },
id: 'system-client-index', id: 'system-client-index',
}; };