优化记录菜单显示数据个数为每页100条,并且为id倒序

This commit is contained in:
2026-03-20 15:25:03 +08:00
parent 8684fdc9f0
commit ca620eb536
7 changed files with 11 additions and 0 deletions

View File

@@ -171,6 +171,7 @@
} = useTable({
core: {
apiFn: api.list,
apiParams: { limit: 100 },
columnsFactory: () => [
// { type: 'selection' },
{ prop: 'id', label: 'page.table.id', width: 80 },

View File

@@ -122,6 +122,7 @@
} = useTable({
core: {
apiFn: api.list,
apiParams: { limit: 100 },
columnsFactory: () => {
const usernameFormatter = (row: Record<string, any>) =>
row?.dicePlayer?.username ?? row?.player_id ?? '-'

View File

@@ -163,6 +163,7 @@
} = useTable({
core: {
apiFn: api.list,
apiParams: { limit: 100 },
columnsFactory: () => [
{ type: 'selection', align: 'center' },
{ prop: 'id', label: 'page.table.id', width: 80, align: 'center' },