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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user