1.优化角色管理页面/system/role中角色级别排序

This commit is contained in:
2026-06-01 09:56:17 +08:00
parent 906539995d
commit d77e390fa3
3 changed files with 35 additions and 6 deletions

View File

@@ -125,6 +125,10 @@
} = useTable({
core: {
apiFn: api.list,
apiParams: {
orderField: 'level',
orderType: 'desc'
},
columnsFactory: () => [
{ prop: 'id', label: 'table.columns.common.no', minWidth: 60, align: 'center' },
{ prop: 'name', label: 'page.table.roleName', minWidth: 120 },