adapt not input type (#1443)
* adapt not input type * adapt not input type
This commit is contained in:
parent
26f4c92124
commit
8cf643d972
@ -290,7 +290,11 @@ export const v1Workflow2V2 = (
|
||||
const newInput: FlowNodeInputItemType = {
|
||||
...input,
|
||||
selectedTypeIndex: 0,
|
||||
renderTypeList: inputTypeMap[input.type] ? [inputTypeMap[input.type]] : [],
|
||||
renderTypeList: !input.type
|
||||
? [FlowNodeInputTypeEnum.custom]
|
||||
: inputTypeMap[input.type]
|
||||
? [inputTypeMap[input.type]]
|
||||
: [],
|
||||
|
||||
key: input.key,
|
||||
value: input.value,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user