Commit 8cf643d9 by Archer Committed by GitHub

adapt not input type (#1443)

* adapt not input type

* adapt not input type
parent 26f4c921
...@@ -290,7 +290,11 @@ export const v1Workflow2V2 = ( ...@@ -290,7 +290,11 @@ export const v1Workflow2V2 = (
const newInput: FlowNodeInputItemType = { const newInput: FlowNodeInputItemType = {
...input, ...input,
selectedTypeIndex: 0, selectedTypeIndex: 0,
renderTypeList: inputTypeMap[input.type] ? [inputTypeMap[input.type]] : [], renderTypeList: !input.type
? [FlowNodeInputTypeEnum.custom]
: inputTypeMap[input.type]
? [inputTypeMap[input.type]]
: [],
key: input.key, key: input.key,
value: input.value, value: input.value,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment