diff --git a/dolphinscheduler-ui-next/src/components/crontab/modules/time.tsx b/dolphinscheduler-ui-next/src/components/crontab/modules/time.tsx index 29b13c648d..edff98afc2 100644 --- a/dolphinscheduler-ui-next/src/components/crontab/modules/time.tsx +++ b/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} />
@@ -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} />
{t(this.timeI18n!.timeStart)}
diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/use-modal.ts b/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/use-modal.ts index 5a85f342c0..d4b9aac86e 100644 --- a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/use-modal.ts +++ b/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