feat: View will move when workflow check error;fix: ui refresh error when continuous file upload (#3077)

* fix: plugin output check

* fix: ui refresh error when continuous file upload

* feat: View will move when workflow check error
This commit is contained in:
Archer
2024-11-05 23:54:10 +08:00
committed by archer
parent 2388652858
commit 8303933ec2
16 changed files with 122 additions and 119 deletions

View File

@@ -23,7 +23,8 @@ import {
formatEditorVariablePickerIcon,
getAppChatConfig,
getGuideModule,
isReferenceValue
isReferenceValue,
isReferenceValueArray
} from '@fastgpt/global/core/workflow/utils';
import { TFunction } from 'next-i18next';
import {
@@ -328,7 +329,8 @@ export const checkWorkflowNodeAndConnection = ({
if (
node.data.flowNodeType === FlowNodeTypeEnum.pluginOutput &&
!(isReferenceValue(input.value, nodeIds) && input.value[1])
(input.value?.length === 0 ||
(isReferenceValue(input.value, nodeIds) && !input.value?.[1]))
) {
return true;
}