From 5c97e7c3f97316753cd976cd8514a4aaa836a0ac Mon Sep 17 00:00:00 2001 From: Junyi Date: Wed, 8 Jan 2025 20:38:41 +0800 Subject: [PATCH] feat(plugin-workflow): allow to sort workflows when binding to action button (#6017) --- .../schema-component/antd/action/Action.Designer.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/core/client/src/schema-component/antd/action/Action.Designer.tsx b/packages/core/client/src/schema-component/antd/action/Action.Designer.tsx index a92be9ecfc..82f717a900 100644 --- a/packages/core/client/src/schema-component/antd/action/Action.Designer.tsx +++ b/packages/core/client/src/schema-component/antd/action/Action.Designer.tsx @@ -561,6 +561,17 @@ export function WorkflowConfig() { items: { type: 'object', properties: { + sort: { + type: 'void', + 'x-component': 'ArrayTable.Column', + 'x-component-props': { width: 50, title: '', align: 'center' }, + properties: { + sort: { + type: 'void', + 'x-component': 'ArrayTable.SortHandle', + }, + }, + }, context: { type: 'void', 'x-component': 'ArrayTable.Column',