diff --git a/packages/plugin-pages/src/actions/getView.ts b/packages/plugin-pages/src/actions/getView.ts index db25c86127..75eb0474d0 100644 --- a/packages/plugin-pages/src/actions/getView.ts +++ b/packages/plugin-pages/src/actions/getView.ts @@ -141,7 +141,9 @@ const transforms = { } const props = {}; if (field.get('interface') === 'subTable') { - const children = await field.getChildren(); + const children = await field.getChildren({ + order: [['sort', 'asc']], + }); props['children'] = children.map(child => ({...child.toJSON(), dataIndex: child.name.split('.')})) } arr.push({