perf: snap code (#3350)

* perf: readme

* perf: snap code
This commit is contained in:
Archer
2024-12-09 18:27:40 +08:00
committed by GitHub
parent c64d629a6a
commit 15dc7b220e
5 changed files with 6 additions and 8 deletions

View File

@@ -634,7 +634,7 @@ export const compareSnapshot = (
selectedTypeIndex: input.selectedTypeIndex ?? 0,
renderTypeLis: input.renderTypeList,
// set to arrayAny for loopInputArray to skip valueType comparison
valueType: input.key === NodeInputKeyEnum.loopInputArray ? 'arrayAny' : input.valueType,
// valueType: input.key === NodeInputKeyEnum.loopInputArray ? 'arrayAny' : input.valueType,
value: input.value ?? undefined
})),
outputs: node.data.outputs.map((item: FlowNodeOutputItemType) => ({