mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-27 08:25:07 +00:00
fix: variable dynamic refresh & space match (#2142)
* fix: variable dynamic refresh & space match * fix variable picker filter
This commit is contained in:
@@ -8,7 +8,6 @@ import { WorkflowContext } from '@/pages/app/detail/components/WorkflowComponent
|
||||
import { computedNodeInputReference } from '@/web/core/workflow/utils';
|
||||
import { useCreation } from 'ahooks';
|
||||
import { AppContext } from '@/pages/app/detail/components/context';
|
||||
import { WorkflowIOValueTypeEnum } from '@fastgpt/global/core/workflow/constants';
|
||||
|
||||
const TextareaRender = ({ inputs = [], item, nodeId }: RenderInputProps) => {
|
||||
const { t } = useTranslation();
|
||||
@@ -65,7 +64,7 @@ const TextareaRender = ({ inputs = [], item, nodeId }: RenderInputProps) => {
|
||||
const formatSourceNodeVariables = formatEditorVariablePickerIcon(sourceNodeVariables);
|
||||
|
||||
return [...nodeVariables, ...formatSourceNodeVariables];
|
||||
}, [nodeList, inputs, t]);
|
||||
}, [nodeList, edges, inputs, t]);
|
||||
|
||||
const onChange = useCallback(
|
||||
(e: string) => {
|
||||
|
Reference in New Issue
Block a user