mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 12:20:34 +00:00
adapt not input type (#1443)
* adapt not input type * adapt not input type
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user