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
5153ffad
authored
Jun 22, 2025
by
Oven
Committed by
GitHub
Jun 22, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:sandbox misspelling (#5073)
parent
02dfbda1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
packages/global/core/workflow/template/system/sandbox/constants.ts
+1
-1
projects/app/src/pageComponents/app/detail/WorkflowComponents/Flow/nodes/NodeCode.tsx
+2
-2
No files found.
packages/global/core/workflow/template/system/sandbox/constants.ts
View file @
5153ffad
...
...
@@ -17,7 +17,7 @@ export enum SandboxCodeTypeEnum {
js
=
'js'
,
py
=
'py'
}
export
const
S
NA
DBOX_CODE_TEMPLATE
=
{
export
const
S
AN
DBOX_CODE_TEMPLATE
=
{
[
SandboxCodeTypeEnum
.
js
]:
JS_TEMPLATE
,
[
SandboxCodeTypeEnum
.
py
]:
PY_TEMPLATE
};
projects/app/src/pageComponents/app/detail/WorkflowComponents/Flow/nodes/NodeCode.tsx
View file @
5153ffad
...
...
@@ -20,7 +20,7 @@ import {
JS_TEMPLATE
,
PY_TEMPLATE
,
SandboxCodeTypeEnum
,
S
NA
DBOX_CODE_TEMPLATE
S
AN
DBOX_CODE_TEMPLATE
}
from
'@fastgpt/global/core/workflow/template/system/sandbox/constants'
;
import
MySelect
from
'@fastgpt/web/components/common/MySelect'
;
import
PopoverConfirm
from
'@fastgpt/web/components/common/MyPopover/PopoverConfirm'
;
...
...
@@ -71,7 +71,7 @@ const NodeCode = ({ data, selected }: NodeProps<FlowNodeItemType>) => {
key
:
item
.
key
,
value
:
{
...
item
,
value
:
S
NA
DBOX_CODE_TEMPLATE
[
newLang
]
value
:
S
AN
DBOX_CODE_TEMPLATE
[
newLang
]
}
});
})();
...
...
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