mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-26 04:32:50 +00:00
fix:sandbox misspelling (#5073)
Some checks failed
Deploy doc image to cf / deploy-production (push) Has been cancelled
Deploy doc image by kubeconfig / build-fastgpt-docs-images (push) Has been cancelled
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Has been cancelled
Deploy doc image by kubeconfig / update-docs-image (push) Has been cancelled
Some checks failed
Deploy doc image to cf / deploy-production (push) Has been cancelled
Deploy doc image by kubeconfig / build-fastgpt-docs-images (push) Has been cancelled
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Has been cancelled
Deploy doc image by kubeconfig / update-docs-image (push) Has been cancelled
This commit is contained in:
parent
02dfbda1f8
commit
5153ffad59
|
|
@ -17,7 +17,7 @@ export enum SandboxCodeTypeEnum {
|
|||
js = 'js',
|
||||
py = 'py'
|
||||
}
|
||||
export const SNADBOX_CODE_TEMPLATE = {
|
||||
export const SANDBOX_CODE_TEMPLATE = {
|
||||
[SandboxCodeTypeEnum.js]: JS_TEMPLATE,
|
||||
[SandboxCodeTypeEnum.py]: PY_TEMPLATE
|
||||
};
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import {
|
|||
JS_TEMPLATE,
|
||||
PY_TEMPLATE,
|
||||
SandboxCodeTypeEnum,
|
||||
SNADBOX_CODE_TEMPLATE
|
||||
SANDBOX_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: SNADBOX_CODE_TEMPLATE[newLang]
|
||||
value: SANDBOX_CODE_TEMPLATE[newLang]
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
|
|
|||
Loading…
Reference in New Issue