add if judge (#14290)
This commit is contained in:
parent
929811760a
commit
6b1a952c6b
|
|
@ -298,18 +298,19 @@ export default defineComponent({
|
|||
</NFormItem>
|
||||
<NFormItem label=' ' showFeedback={false}>
|
||||
<NList>
|
||||
<NListItem>
|
||||
<NThing
|
||||
description={t('project.workflow.next_five_execution_times')}
|
||||
>
|
||||
{this.schedulePreviewList.map((item: string) => (
|
||||
<NSpace>
|
||||
{item}
|
||||
<br />
|
||||
</NSpace>
|
||||
))}
|
||||
</NThing>
|
||||
</NListItem>
|
||||
{this.schedulePreviewList.length > 0 ?
|
||||
<NListItem>
|
||||
<NThing
|
||||
description={t('project.workflow.next_five_execution_times')}
|
||||
>
|
||||
{this.schedulePreviewList.map((item: string) => (
|
||||
<NSpace>
|
||||
{item}
|
||||
<br/>
|
||||
</NSpace>
|
||||
))}
|
||||
</NThing>
|
||||
</NListItem> : null}
|
||||
</NList>
|
||||
</NFormItem>
|
||||
<NFormItem
|
||||
|
|
|
|||
Loading…
Reference in New Issue