|
@@ -104,7 +104,7 @@
|
|
|
title: t('common.state'),
|
|
|
dataIndex: 'status',
|
|
|
slots: { customRender: 'status' },
|
|
|
- sorter: true,
|
|
|
+ // sorter: true,
|
|
|
width: 80,
|
|
|
},
|
|
|
|
|
@@ -150,6 +150,9 @@
|
|
|
rowKey: 'id',
|
|
|
pagination: { pageSize: 20 },
|
|
|
bordered: true,
|
|
|
+ sortFn: (sortInfo) => {
|
|
|
+ return { ...sortInfo, sidx: sortInfo.field, order: sortInfo.order.replace('end', '') };
|
|
|
+ },
|
|
|
});
|
|
|
|
|
|
function renderRoleType(type: number): string {
|