mirror of
https://github.com/nocobase/nocobase.git
synced 2026-10-28 03:54:28 +08:00
Merge branch 'main' into next
This commit is contained in:
@@ -41,17 +41,11 @@ export class Table extends AntdChart {
|
||||
item._key = index;
|
||||
return item;
|
||||
});
|
||||
const pageSize = advanced?.pagination?.pageSize || 10;
|
||||
return {
|
||||
// bordered: true,
|
||||
size: 'middle',
|
||||
pagination:
|
||||
dataSource.length < pageSize
|
||||
? false
|
||||
: {
|
||||
pageSize,
|
||||
},
|
||||
dataSource,
|
||||
...(dataSource.length < 10 ? { pagination: false } : {}),
|
||||
columns,
|
||||
scroll: {
|
||||
x: 'max-content',
|
||||
|
||||
Reference in New Issue
Block a user