Browse Source

add if judge (#14290)

3.2.1-prepare
jackfanwan 1 year ago committed by GitHub
parent
commit
6b1a952c6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 25
      dolphinscheduler-ui/src/views/projects/workflow/definition/components/timing-modal.tsx

25
dolphinscheduler-ui/src/views/projects/workflow/definition/components/timing-modal.tsx

@ -298,18 +298,19 @@ export default defineComponent({
</NFormItem> </NFormItem>
<NFormItem label=' ' showFeedback={false}> <NFormItem label=' ' showFeedback={false}>
<NList> <NList>
<NListItem> {this.schedulePreviewList.length > 0 ?
<NThing <NListItem>
description={t('project.workflow.next_five_execution_times')} <NThing
> description={t('project.workflow.next_five_execution_times')}
{this.schedulePreviewList.map((item: string) => ( >
<NSpace> {this.schedulePreviewList.map((item: string) => (
{item} <NSpace>
<br /> {item}
</NSpace> <br/>
))} </NSpace>
</NThing> ))}
</NListItem> </NThing>
</NListItem> : null}
</NList> </NList>
</NFormItem> </NFormItem>
<NFormItem <NFormItem

Loading…
Cancel
Save