Browse Source

[Fix][UI Next][V1.0.0-Alpha] Fix preview error in workflow scheduler (#9203)

3.0.0/version-upgrade
Devosend 3 years ago committed by GitHub
parent
commit
e8eb50e738
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      dolphinscheduler-ui-next/src/components/crontab/modules/time.tsx
  2. 3
      dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/use-modal.ts

8
dolphinscheduler-ui-next/src/components/crontab/modules/time.tsx

@ -233,8 +233,8 @@ export default defineComponent({
defaultValue={0}
min={0}
max={59}
v-model:value={this.intervalStartRef}
onUpdateValue={this.onIntervalStart}
v-model:value={this.intervalPerformRef}
onUpdateValue={this.onIntervalPerform}
/>
</div>
<div class={styles['item-text']}>
@ -245,8 +245,8 @@ export default defineComponent({
defaultValue={0}
min={0}
max={59}
v-model:value={this.intervalPerformRef}
onUpdateValue={this.onIntervalPerform}
v-model:value={this.intervalStartRef}
onUpdateValue={this.onIntervalStart}
/>
</div>
<div class={styles['item-text']}>{t(this.timeI18n!.timeStart)}</div>

3
dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/use-modal.ts

@ -261,7 +261,8 @@ export function useModal(
const schedule = JSON.stringify({
startTime: start,
endTime: end,
crontab: state.timingForm.crontab
crontab: state.timingForm.crontab,
timezoneId: state.timingForm.timezoneId
})
previewSchedule({ schedule }, projectCode).then((res: any) => {
variables.schedulePreviewList = res

Loading…
Cancel
Save