Przeglądaj źródła

cron配置bug修改

wyh 4 miesięcy temu
rodzic
commit
5f3961c1e8

+ 2 - 2
src/views/module_interLock/baseScheduleSet/modules/BaseScheduleSetModal.vue

@@ -115,11 +115,11 @@
           }
           if (record.parameter == 'month') {
             this.model.time = []
-            this.model.time.push("每月", Number(cronExpression[2]), Number(cronExpression[3]))
+            this.model.time.push("每月", Number(cronExpression[3]), Number(cronExpression[2]))
           }
           if (record.parameter == 'year') {
             this.model.time = []
-            this.model.time.push("每年", Number(cronExpression[2]), Number(cronExpression[3]), Number(cronExpression[4]))
+            this.model.time.push("每年", Number(cronExpression[4]), Number(cronExpression[3]), Number(cronExpression[2]))
           }
            console.log(77,this.model);
         })