Skip to content

Commit 44ba224

Browse files
authored
[elsa] 修复循环节点新增字段数据格式问题 (#60)
1 parent d850fd4 commit 44ba224

File tree

1 file changed

+2
-2
lines changed
  • framework/elsa/fit-elsa-react/src/common

1 file changed

+2
-2
lines changed

framework/elsa/fit-elsa-react/src/common/Consts.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export const DEFAULT_LOOP_NODE_CONTEXT = {
194194
name: 'context',
195195
type: DATA_TYPES.OBJECT,
196196
from: FROM_TYPE.EXPAND,
197-
value: {
197+
value: [{
198198
id: uuidv4(),
199199
name: VIRTUAL_CONTEXT_NODE_VARIABLES.INSTANCE_ID,
200200
type: DATA_TYPES.STRING,
@@ -203,5 +203,5 @@ export const DEFAULT_LOOP_NODE_CONTEXT = {
203203
referenceKey: VIRTUAL_CONTEXT_NODE_VARIABLES.INSTANCE_ID,
204204
referenceNode: VIRTUAL_CONTEXT_NODE.id,
205205
value: [VIRTUAL_CONTEXT_NODE_VARIABLES.INSTANCE_ID],
206-
},
206+
}],
207207
};

0 commit comments

Comments
 (0)