mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-08 17:12:28 +08:00
支持多字段默认排序defSort数组
This commit is contained in:
@ -123,11 +123,17 @@
|
||||
style: { textAlign: 'left' },
|
||||
},
|
||||
},
|
||||
//自定义默认排序
|
||||
defSort: {
|
||||
column: 'createTime,sex',
|
||||
order: 'desc',
|
||||
},
|
||||
//自定义默认多字段排序
|
||||
defSort: [
|
||||
{
|
||||
column: 'name',
|
||||
order: 'desc',
|
||||
},
|
||||
{
|
||||
column: 'sex',
|
||||
order: 'asc',
|
||||
},
|
||||
],
|
||||
striped: true,
|
||||
useSearchForm: true,
|
||||
showTableSetting: true,
|
||||
|
||||
Reference in New Issue
Block a user