Feat: Use the node ID as the key to destroy different types of form components to switch the form values ​​of the same type of operators #3221 (#8288)

### What problem does this PR solve?
Feat: Use the node ID as the key to destroy different types of form
components to switch the form values ​​of the same type of operators
#3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-06-16 16:28:20 +08:00
committed by GitHub
parent 36ee1d271d
commit bde76d2f55
2 changed files with 3 additions and 66 deletions

View File

@ -1,6 +1,5 @@
import { RAGFlowNodeType } from '@/interfaces/database/flow';
import { FormInstance } from 'antd';
import { UseFormReturn } from 'react-hook-form';
export interface IOperatorForm {
onValuesChange?(changedValues: any, values: any): void;
@ -10,7 +9,6 @@ export interface IOperatorForm {
}
export interface INextOperatorForm {
form: UseFormReturn;
node?: RAGFlowNodeType;
nodeId?: string;
}