From 9008fa4b0c43a615270f080e9d8c3c2a324bee9c Mon Sep 17 00:00:00 2001 From: Shiwen Cheng Date: Fri, 19 Mar 2021 11:57:46 +0800 Subject: [PATCH] [Fix-5089][UI] Fix code mirror cannot be displayed normally in sqoop task (#5090) * [Improvement][UI] Rename from-mirror to form-mirror * [Fix-5089][UI] Fix code mirror cannot be displayed normally in sqoop task --- .../js/conf/home/pages/dag/_source/dag.scss | 2 +- .../formModel/tasks/_source/jsonBox.vue | 4 +-- .../formModel/tasks/_source/scriptBox.vue | 4 +-- .../dag/_source/formModel/tasks/datax.vue | 4 +-- .../dag/_source/formModel/tasks/python.vue | 2 +- .../dag/_source/formModel/tasks/shell.vue | 2 +- .../pages/dag/_source/formModel/tasks/sql.vue | 2 +- .../dag/_source/formModel/tasks/sqoop.vue | 28 +++++++++++++++++-- .../components/conditions/conditions.vue | 2 +- .../src/sass/common/index.scss | 2 +- 10 files changed, 37 insertions(+), 15 deletions(-) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.scss b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.scss index 41a44bc17a..08f2feccbe 100755 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.scss +++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.scss @@ -546,7 +546,7 @@ svg path:hover { } } -.from-mirror { +.form-mirror { width: 100%; position: relative; z-index: 0; diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/jsonBox.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/jsonBox.vue index 04375e616a..9b7f53e0cf 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/jsonBox.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/jsonBox.vue @@ -18,7 +18,7 @@
-
+
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue index d66c9e6819..4c61ed266e 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue @@ -19,7 +19,7 @@
{{$t('Script')}}
-
+
@@ -223,10 +223,10 @@