This is an automated email from the ASF dual-hosted git repository.
songjian pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new e8eb50e [Fix][UI Next][V1.0.0-Alpha] Fix preview error in workflow
scheduler (#9203)
e8eb50e is described below
commit e8eb50e7388ae04251d05594880d220da8cc666f
Author: Devosend <[email protected]>
AuthorDate: Sat Mar 26 19:20:59 2022 +0800
[Fix][UI Next][V1.0.0-Alpha] Fix preview error in workflow scheduler (#9203)
---
dolphinscheduler-ui-next/src/components/crontab/modules/time.tsx | 8 ++++----
.../views/projects/workflow/definition/components/use-modal.ts | 3 ++-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/dolphinscheduler-ui-next/src/components/crontab/modules/time.tsx
b/dolphinscheduler-ui-next/src/components/crontab/modules/time.tsx
index 29b13c6..edff98a 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}
/>
</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>
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 5a85f34..d4b9aac 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