wujingjing
2024-12-12 f9cba7fdc9d60bbb2eee6d4eeff3556daea3e2ef
src/components/vue-flow/VueFlowHelper.ts
@@ -1,4 +1,4 @@
import { HandleType } from '@vue-flow/core';
import { HandleType, useNode, useVueFlow } from '@vue-flow/core';
import { v4 as uuid } from 'uuid';
import { VueFlowConstant } from './VueFlowConstant';
import { CompareOperation, ConditionOperator, NodeType, VarType, nodeTypeMap } from './vueFlowEnum';
@@ -73,7 +73,6 @@
         case NodeType.Agent:
            data[VueFlowConstant.GROUP_PARAMS_KEY] = [
               {
                  [VueFlowConstant.PARAMS_KEY]: [
                     {
                        key: 'agent',
@@ -86,13 +85,11 @@
                     },
                  ],
               },
            ];
            break;
         case NodeType.Output:
            data[VueFlowConstant.GROUP_PARAMS_KEY] = [
               {
                  [VueFlowConstant.PARAMS_KEY]: [
                     {
                        key: 'output_msg',
@@ -110,9 +107,7 @@
                        type: 'output_form',
                        required: true,
                        value: { type: 'none', value: '' },
                        options: [
                        ],
                        options: [],
                     },
                  ],
               },