From b99d2468b6dad299dd5ca17c8cb2ceaa0d57f60c Mon Sep 17 00:00:00 2001 From: lgcareer <18610854716@163.com> Date: Fri, 11 Dec 2020 18:54:10 +0800 Subject: [PATCH] [Feature-3878][UI]Repair the last Sunday of each month --- .../src/js/module/components/crontab/source/_times/day.vue | 4 ++-- .../src/js/module/components/crontab/source/util/index.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/day.vue b/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/day.vue index 4e65b1cc4b..83303b7a22 100755 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/day.vue +++ b/dolphinscheduler-ui/src/js/module/components/crontab/source/_times/day.vue @@ -161,7 +161,7 @@ selectSpecificDayList: selectList['day'], monthLastDaysVal: 'L', monthLastWorkingDays: 'LW', - monthLastWeeksVal: '1L', + monthLastWeeksVal: '?', monthLastWeeksList: _.map(_.cloneDeep(selectList['lastWeeks']), v => { return { value: v.value, @@ -313,7 +313,7 @@ this.monthLastWorkingDaysReset() break case 'monthLastWeeks': - this.weekValue = '?' + this.weekValue = '1L' this.monthLastWeeksReset() break case 'monthTailBefore': diff --git a/dolphinscheduler-ui/src/js/module/components/crontab/source/util/index.js b/dolphinscheduler-ui/src/js/module/components/crontab/source/util/index.js index 47f5e34478..000b1d441b 100755 --- a/dolphinscheduler-ui/src/js/module/components/crontab/source/util/index.js +++ b/dolphinscheduler-ui/src/js/module/components/crontab/source/util/index.js @@ -121,7 +121,7 @@ const selectList = { }), lastWeeks: [ { - value: '1L', + value: '?', label: '星期天' }, {