From f9cba7fdc9d60bbb2eee6d4eeff3556daea3e2ef Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期四, 12 十二月 2024 16:35:25 +0800
Subject: [PATCH] feat(flow): 优化流程编辑功能

---
 src/components/vue-flow/VueFlowHelper.ts |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/components/vue-flow/VueFlowHelper.ts b/src/components/vue-flow/VueFlowHelper.ts
index 5dc1fe6..962ae54 100644
--- a/src/components/vue-flow/VueFlowHelper.ts
+++ b/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: [],
 							},
 						],
 					},

--
Gitblit v1.9.3