From 5020b6a7afdc31dc6637d539eff315244b827987 Mon Sep 17 00:00:00 2001 From: dengbf Date: Thu, 19 Jun 2025 16:54:34 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[=E5=85=B3=E8=81=94]=20#[1447013005099008]c?= =?UTF-8?q?ron=E7=BB=84=E4=BB=B6=EF=BC=9A=E5=88=87=E6=8D=A2=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E6=98=AF=E5=88=86=E9=92=9F=E5=80=BC=E7=BD=AE=E4=B8=BA?= =?UTF-8?q?0=20http://192.168.0.96:8090/demo/rdm.html#/story-detail/939050?= =?UTF-8?q?947543040/939050947543042/1447013005099008?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/resources/plugins/TsQuartz/TsQuartz.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/resources/plugins/TsQuartz/TsQuartz.vue b/src/resources/plugins/TsQuartz/TsQuartz.vue index 402f468c..c788e284 100644 --- a/src/resources/plugins/TsQuartz/TsQuartz.vue +++ b/src/resources/plugins/TsQuartz/TsQuartz.vue @@ -133,14 +133,15 @@ export default { this.tmpCronType = item; for (let key in this.cronData) { //秒需要保持是0 - if (key != 'second' && !this.Setting.controllerList[item].find(d => d.datasource && d.datasource === key)) { + console.log(this.Setting.controllerList[item], key); + if (key != 'second' && key != 'minute' && !this.Setting.controllerList[item].find(d => d.datasource && d.datasource === key)) { this.$set(this.cronData, key, '*'); if (key === 'dayofweek') { this.$set(this.cronData, 'dayofmonth', '?'); } else if (key === 'dayofmonth') { this.$set(this.cronData, 'dayofweek', '?'); } - } else if (key === 'second') { + } else if (key === 'second' || key === 'minute') { this.$set(this.cronData, key, '0'); } } -- Gitee From cd5325a46f86eff43266139a89b04a6099c6af9a Mon Sep 17 00:00:00 2001 From: dengbf Date: Fri, 20 Jun 2025 10:09:27 +0800 Subject: [PATCH 2/2] commit --- src/resources/plugins/TsQuartz/TsQuartz.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/resources/plugins/TsQuartz/TsQuartz.vue b/src/resources/plugins/TsQuartz/TsQuartz.vue index c788e284..e83268bf 100644 --- a/src/resources/plugins/TsQuartz/TsQuartz.vue +++ b/src/resources/plugins/TsQuartz/TsQuartz.vue @@ -133,7 +133,6 @@ export default { this.tmpCronType = item; for (let key in this.cronData) { //秒需要保持是0 - console.log(this.Setting.controllerList[item], key); if (key != 'second' && key != 'minute' && !this.Setting.controllerList[item].find(d => d.datasource && d.datasource === key)) { this.$set(this.cronData, key, '*'); if (key === 'dayofweek') { -- Gitee