You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by so...@apache.org on 2022/03/29 14:03:27 UTC

[dolphinscheduler] branch dev updated: [Fix] [UI-Next] [V1.0.0-Alpha]Fix the magic status display. (#9265)

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

songjian pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 860771f  [Fix] [UI-Next] [V1.0.0-Alpha]Fix the magic status display. (#9265)
860771f is described below

commit 860771f922fd3201f76abca20db9ac09dc9eafd9
Author: Amy0104 <97...@users.noreply.github.com>
AuthorDate: Tue Mar 29 22:03:17 2022 +0800

    [Fix] [UI-Next] [V1.0.0-Alpha]Fix the magic status display. (#9265)
---
 .../src/views/projects/task/instance/use-table.ts                    | 5 +++--
 .../src/views/projects/workflow/components/dag/dag-node-status.tsx   | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dolphinscheduler-ui-next/src/views/projects/task/instance/use-table.ts b/dolphinscheduler-ui-next/src/views/projects/task/instance/use-table.ts
index baaaef8..154444b 100644
--- a/dolphinscheduler-ui-next/src/views/projects/task/instance/use-table.ts
+++ b/dolphinscheduler-ui-next/src/views/projects/task/instance/use-table.ts
@@ -336,14 +336,15 @@ export function renderStateCell(state: ITaskState, t: Function) {
       class: stateOption.classNames,
       style: {
         display: 'flex'
-      }
+      },
+      size: 20
     },
     () => h(stateOption.icon)
   )
   return h(NTooltip, null, {
     trigger: () => {
       if (!stateOption.isSpin) return Icon
-      return h(NSpin, { size: 18 }, { icon: () => Icon })
+      return h(NSpin, { size: 20 }, { icon: () => Icon })
     },
     default: () => stateOption.desc
   })
diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-node-status.tsx b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-node-status.tsx
index fde2c02..aff989a 100644
--- a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-node-status.tsx
+++ b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-node-status.tsx
@@ -41,7 +41,7 @@ export default defineComponent({
     const iconElement = h(
       NIcon,
       {
-        size: '20px'
+        size: 20
       },
       {
         default: () =>
@@ -63,7 +63,7 @@ export default defineComponent({
               return h(
                 NSpin,
                 {
-                  small: 'small'
+                  size: 20
                 },
                 {
                   icon: () => this.iconElement