From 4387c8a3ee1dbfb0de777f6546118cc4e98f96cc Mon Sep 17 00:00:00 2001 From: Yichao Yang <1048262223@qq.com> Date: Thu, 27 Aug 2020 10:40:14 +0800 Subject: [PATCH] [Fix][ui] Fix version control release process definition editable --- .../js/conf/home/pages/dag/_source/dag.vue | 3 +- .../pages/list/_source/versions.vue | 35 +++++++++++++------ 2 files changed, 27 insertions(+), 11 deletions(-) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue index 6546739421..1880adc51b 100755 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue @@ -790,7 +790,8 @@ props: { processDefinition: { id: self.urlParam.id, - version: self.$store.state.dag.version + version: self.$store.state.dag.version, + state: self.releaseState }, processDefinitionVersions: processDefinitionVersions, total: total, diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue index 891f0f62a7..1294f48538 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue @@ -67,8 +67,12 @@ width="90">

{{$t('Confirm Switch To This Version?')}}

- {{$t('Cancel')}} - {{$t('Confirm')}} + + {{$t('Cancel')}} + + {{$t('Confirm')}} +