chore: 调整高度自适应代码

This commit is contained in:
dap 2025-01-10 15:26:36 +08:00
parent ed631b6358
commit d00e37a619
2 changed files with 6 additions and 7 deletions

View File

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

View File

@ -64,6 +64,7 @@ const gridOptions: VxeGridProps = {
keyField: 'id',
},
id: 'system-client-index',
showOverflow: false,
};
const [BasicTable, tableApi] = useVbenVxeGrid({