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 }