File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
ui/src/workflow/nodes/tool-lib-node Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 7373 <el-form-item
7474 :label =" $t('workflow.nodes.aiChatNode.returnContent.label')"
7575 @click.prevent
76+ v-if =" [WorkflowMode.Application, WorkflowMode.ApplicationLoop].includes(workflowMode)"
7677 >
7778 <template #label >
7879 <div class =" flex align-center" >
@@ -100,9 +101,11 @@ import { useRoute } from 'vue-router'
100101import NodeContainer from ' @/workflow/common/NodeContainer.vue'
101102import NodeCascader from ' @/workflow/common/NodeCascader.vue'
102103import type { FormInstance } from ' element-plus'
103- import { ref , computed , onMounted } from ' vue'
104+ import { ref , computed , onMounted , inject } from ' vue'
104105import { isLastNode } from ' @/workflow/common/data'
105106import { loadSharedApi } from ' @/utils/dynamics-api/shared-api'
107+ import { WorkflowMode } from ' @/enums/application'
108+ const workflowMode = (inject (' workflowMode' ) as WorkflowMode ) || WorkflowMode .Application
106109
107110const props = defineProps <{ nodeModel: any }>()
108111
You can’t perform that action at this time.
0 commit comments