You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ke...@apache.org on 2021/12/02 11:43:16 UTC

[dolphinscheduler] branch 2.0.1-prepare updated: [Fix-7083] [UI] The switch task is missing the else branch (#7084) (#7121)

This is an automated email from the ASF dual-hosted git repository.

kerwin pushed a commit to branch 2.0.1-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/2.0.1-prepare by this push:
     new 1a13934  [Fix-7083] [UI] The switch task is missing the else branch (#7084) (#7121)
1a13934 is described below

commit 1a139342f985bf48e8fab30957f8bb09d53f92fa
Author: wangyizhi <wa...@cmss.chinamobile.com>
AuthorDate: Thu Dec 2 19:43:12 2021 +0800

    [Fix-7083] [UI] The switch task is missing the else branch (#7084) (#7121)
---
 .../js/conf/home/pages/dag/_source/formModel/tasks/conditions.vue   | 6 +++---
 .../src/js/conf/home/pages/dag/_source/formModel/tasks/switch.vue   | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/conditions.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/conditions.vue
index 3399d72..e310e51 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/conditions.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/conditions.vue
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 <template>
-  <div class="conditions-model">
+  <div class="conditions-task">
     <m-list-box>
       <div slot="text">{{$t('Custom Parameters')}}</div>
       <div slot="content">
@@ -175,8 +175,8 @@
   }
 </script>
 
-<style lang="scss" rel="stylesheet/scss">
-  .conditions-model {
+<style lang="scss" rel="stylesheet/scss" scoped>
+  .conditions-task {
     margin-top: -10px;
     .dep-opt {
       margin-bottom: 10px;
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/switch.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/switch.vue
index 5e2e90d..30fecad 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/switch.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/switch.vue
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 <template>
-  <div class="conditions-model">
+  <div class="switch-task">
     <m-list-box>
       <div slot="text">{{$t('condition')}}</div>
       <div slot="content">
@@ -181,8 +181,8 @@
   }
 </script>
 
-<style lang="scss" rel="stylesheet/scss">
-  .conditions-model {
+<style lang="scss" rel="stylesheet/scss" scoped>
+  .switch-task {
     margin-top: -10px;
     .dep-opt {
       margin-bottom: 10px;