Browse Source

修复定时任务年表达式出现NaN问题

RuoYi 11 months ago
parent
commit
353f76740a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/Crontab/year.vue

+ 1 - 1
src/components/Crontab/year.vue

@@ -96,7 +96,7 @@ function changeRadioValue(value) {
         cycle02.value = Number(indexArr[1])
         radioValue.value = 3
     } else if (value.indexOf("/") > -1) {
-        const indexArr = value.split('#')
+        const indexArr = value.split('/')
         average01.value = Number(indexArr[1])
         average02.value = Number(indexArr[0])
         radioValue.value = 4