Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
8cf643d9
authored
May 10, 2024
by
Archer
Committed by
GitHub
May 10, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adapt not input type (#1443)
* adapt not input type * adapt not input type
parent
26f4c921
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
projects/app/src/web/core/workflow/adapt.ts
+5
-1
No files found.
projects/app/src/web/core/workflow/adapt.ts
View file @
8cf643d9
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment