From 66933da1e9c8fe06da9f403493119d37ad10e3b9 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Mon, 19 Sep 2022 17:52:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=95=B0=E6=8D=AE=E6=BA=90=E6=A3=80?= =?UTF-8?q?=E6=B5=8B=E6=97=B6=E9=97=B4=E8=B6=85=E5=87=BA=E8=8C=83=E5=9B=B4?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E7=BD=AE=E4=B8=BA=E5=88=9D=E5=A7=8B=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/system/SysParam/BasicSetting.vue | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/frontend/src/views/system/SysParam/BasicSetting.vue b/frontend/src/views/system/SysParam/BasicSetting.vue index 1185d9e152..dae71cb0a5 100644 --- a/frontend/src/views/system/SysParam/BasicSetting.vue +++ b/frontend/src/views/system/SysParam/BasicSetting.vue @@ -34,7 +34,7 @@ - + @@ -276,21 +276,14 @@ export default { if (this.formInline.dsCheckIntervalType === 'minute') { if (this.formInline.dsCheckInterval < 1 || this.formInline.dsCheckInterval > 59) { this.$message({ message: this.$t('cron.minute_limit'), type: 'warning', showClose: true }) - this.taskForm.extraData.simple_cron_value = 59 + this.formInline.dsCheckInterval = 1 } return } if (this.formInline.dsCheckIntervalType === 'hour') { if (this.formInline.dsCheckInterval < 1 || this.formInline.dsCheckInterval > 23) { this.$message({ message: this.$t('cron.hour_limit'), type: 'warning', showClose: true }) - this.taskForm.extraData.simple_cron_value = 23 - } - return - } - if (this.formInline.dsCheckIntervalType === 'day') { - if (this.formInline.dsCheckInterval < 1 || this.formInline.dsCheckInterval > 31) { - this.$message({ message: this.$t('cron.day_limit'), type: 'warning', showClose: true }) - this.taskForm.extraData.simple_cron_value = 31 + this.formInline.dsCheckInterval = 1 } return }