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) { if (!row.grantTypeList) {
return '无'; return '无';
} }
return ( return renderDictTags(
<div class="my-3"> row.grantTypeList,
{renderDictTags( getDictOptions(DictEnum.SYS_GRANT_TYPE),
row.grantTypeList, true,
getDictOptions(DictEnum.SYS_GRANT_TYPE), 4,
)}
</div>
); );
}, },
}, },

View File

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