From 435eaee262fb05cc6c7f748e4bdeee1597585912 Mon Sep 17 00:00:00 2001 From: Junyi Date: Sat, 25 Mar 2023 16:48:01 +0700 Subject: [PATCH] fix(plugin-workflow): add default actions value of manual node (#1600) --- packages/plugins/workflow/src/client/nodes/manual/index.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/plugins/workflow/src/client/nodes/manual/index.tsx b/packages/plugins/workflow/src/client/nodes/manual/index.tsx index e429a7cadb..07e8e4f485 100644 --- a/packages/plugins/workflow/src/client/nodes/manual/index.tsx +++ b/packages/plugins/workflow/src/client/nodes/manual/index.tsx @@ -7,6 +7,7 @@ import { NAMESPACE } from '../../locale'; import { SchemaConfig, SchemaConfigButton } from './SchemaConfig'; import { ModeConfig } from './ModeConfig'; import { AssigneesSelect } from './AssigneesSelect'; +import { JOB_STATUS } from '../../constants'; const MULTIPLE_ASSIGNED_MODE = { @@ -72,6 +73,10 @@ export default { }, } }, + actions: { + type: 'array', + default: [JOB_STATUS.RESOLVED] + } }, view: {