瀏覽代碼

cron配置bug修改

wyh 4 月之前
父節點
當前提交
5f3961c1e8
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/module_interLock/baseScheduleSet/modules/BaseScheduleSetModal.vue

+ 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);
         })