refactor: 将 NodeDebugResponseProps 接口更改为类型定义,优化代码结构
This commit is contained in:
@@ -13,10 +13,10 @@ import {
|
||||
RenderUserFormInteractive
|
||||
} from '@/components/core/chat/components/InteractiveComponents';
|
||||
|
||||
interface NodeDebugResponseProps {
|
||||
type NodeDebugResponseProps = {
|
||||
nodeId: string;
|
||||
debugResult: FlowNodeItemType['debugResult'];
|
||||
}
|
||||
};
|
||||
|
||||
const NodeDebugResponse = ({ nodeId, debugResult }: NodeDebugResponseProps) => {
|
||||
const { t } = useTranslation();
|
||||
|
||||
Reference in New Issue
Block a user