diff --git a/dolphinscheduler-ui/src/views/projects/workflow/definition/components/timing-modal.tsx b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/timing-modal.tsx index a76993b299..6a112ba5b7 100644 --- a/dolphinscheduler-ui/src/views/projects/workflow/definition/components/timing-modal.tsx +++ b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/timing-modal.tsx @@ -298,18 +298,19 @@ export default defineComponent({ - - - {this.schedulePreviewList.map((item: string) => ( - - {item} -
-
- ))} -
-
+ {this.schedulePreviewList.length > 0 ? + + + {this.schedulePreviewList.map((item: string) => ( + + {item} +
+
+ ))} +
+
: null}