wujingjing
2024-12-12 b5c3eb5e9cc9129b9875f2ef8680092e1da4bab7
src/components/vue-flow/ui/nodes/OutputNode.vue
@@ -30,7 +30,7 @@
               <img src="/@/components/vue-flow/ui/assets/images/icon_Start.png" class="h-4 w-4" alt="Start icon" />
               <div class="flex flex-col gap-y-1">
                  <p v-if="!titleIsEdit" class="text-xl font-bold text-gray-500" @click="titleIsEdit = true">{{ data.title }}</p>
                  <el-input v-else v-model="data.title" @blur="() => (titleIsEdit = false)"></el-input>
                  <el-input v-elInputFocus="false" v-else v-model="data.title" @blur="() => (titleIsEdit = false)"></el-input>
               </div>
            </div>
         </div>
@@ -82,7 +82,7 @@
                        ></span>
                     </div>
                  </div>
                  <div v-if="isEditStatus" class="flex-items-center w-full">
                     <el-input class="flex-auto" v-model="tmpEditValue"></el-input>
                     <el-button class="flex-0 ml-2" type="success" @click="confirmClick">确定 </el-button>
@@ -107,11 +107,11 @@
import { ref } from 'vue';
import type { NodeProps } from '@vue-flow/core';
import { nextTick } from 'vue';
import { VueFlowHelper } from '../../VueFlowHelper';
import { InteractionType, interactionTypeMap } from '../../vueFlowEnum';
import { LLMNodeData, LLMNodeEvents } from './index';
import { deepClone } from '/@/utils/other';
import { InteractionType, interactionTypeMap } from '../../vueFlowEnum';
import { nextTick } from 'vue';
defineProps<NodeProps<LLMNodeData, LLMNodeEvents>>();
const node = useNode();