| | |
| | | <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> |
| | |
| | | ></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> |
| | |
| | | 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(); |