diff --git a/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-context-menu.tsx b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-context-menu.tsx index 74b8317b88..87161c3d27 100644 --- a/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-context-menu.tsx +++ b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-context-menu.tsx @@ -26,6 +26,10 @@ import { IWorkflowTaskInstance } from './types' import { NButton } from 'naive-ui' const props = { + startButtonDisplay: { + type: Boolean as PropType, + default: true + }, startReadonly: { type: Boolean as PropType, default: false @@ -127,13 +131,15 @@ export default defineComponent({ class={styles['dag-context-menu']} style={{ left: `${this.left}px`, top: `${this.top}px` }} > - - {t('project.node.start')} - + {this.startButtonDisplay && ( + + {t('project.node.start')} + ) + }