mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 08:56:47 +08:00
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:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user