Commit 400e67a6 by 张蕴鹏

feat(sort):list 下的 page 支持配置默认排序规则

parent 4ffb862d
Showing with 38 additions and 1 deletions
...@@ -547,7 +547,7 @@ ...@@ -547,7 +547,7 @@
{ {
"property": "id", "property": "id",
"type": "number", "type": "number",
"label": "name", "label": "id",
"format": "" "format": ""
}, },
{ {
...@@ -691,6 +691,43 @@ ...@@ -691,6 +691,43 @@
], ],
"actions": [ "actions": [
],
"sortDefs": [{
"property": "id",
"type": "asc"
}]
},
{
"name": "page3",
"title": "page3",
"prefilters": [
{
"property": "status",
"value": "0"
}
],
"field_groups": [
{
"label": "id",
"template": "{id}"
},
{
"label": "name",
"template": "{name}"
}
],
"sortDefs": [{
"property": "name",
"type": "desc"
}],
"intents": [
"executeActionOther",
"executeAction",
"showList",
"showWorkflowList"
],
"actions": [
] ]
} }
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment