From d77d6197cadc2e40537a7fab236a4f2280552fdb Mon Sep 17 00:00:00 2001 From: junjie Date: Fri, 18 Jun 2021 11:07:12 +0800 Subject: [PATCH] =?UTF-8?q?feat(fix):cron=E8=AE=BE=E7=BD=AE=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0week=E8=AF=B4=E6=98=8E=EF=BC=9Bcron=E6=95=B0=E5=AD=97?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/cron/cron/week.vue | 3 +++ frontend/src/lang/en.js | 3 ++- frontend/src/lang/tw.js | 3 ++- frontend/src/lang/zh.js | 3 ++- frontend/src/views/dataset/data/UpdateInfo.vue | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/cron/cron/week.vue b/frontend/src/components/cron/cron/week.vue index 951f5739a3..e54986f5cc 100644 --- a/frontend/src/components/cron/cron/week.vue +++ b/frontend/src/components/cron/cron/week.vue @@ -39,6 +39,9 @@ +
+ {{ $t('cron.week_tips') }} +
diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index 906dbb0188..de9dcab5d1 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -1099,6 +1099,7 @@ export default { every_week: 'Every week', week_start: 'From week', week_end: 'to week', - every_year: 'Every year' + every_year: 'Every year', + week_tips: 'Tips:1-7 mapping SUN-SAT' } } diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js index cf95db7d2d..eeda4a8ed0 100644 --- a/frontend/src/lang/tw.js +++ b/frontend/src/lang/tw.js @@ -1099,6 +1099,7 @@ export default { every_week: '每周', week_start: '從星期', week_end: '至星期', - every_year: '每年' + every_year: '每年', + week_tips: '說明:1-7 分別對應 周日-周六' } } diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index 8e7ee2d1dd..3675ede7a0 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -1100,6 +1100,7 @@ export default { every_week: '每周', week_start: '从星期', week_end: '至星期', - every_year: '每年' + every_year: '每年', + week_tips: '说明:1-7 分别对应 周日-周六' } } diff --git a/frontend/src/views/dataset/data/UpdateInfo.vue b/frontend/src/views/dataset/data/UpdateInfo.vue index 75f6884f33..049771d47b 100644 --- a/frontend/src/views/dataset/data/UpdateInfo.vue +++ b/frontend/src/views/dataset/data/UpdateInfo.vue @@ -547,7 +547,7 @@ export default { this.taskForm.endTime = '' this.taskForm.cron = '' } else { - this.taskForm.cron = '0 0 * ? * * *' + this.taskForm.cron = '00 00 * ? * * *' } }, listTaskLog(loading = true) {