Skip to content

Commit fcebb94

Browse files
author
SolonCode
committed
修正 cron 表达式示例格式,补充秒和分钟字段
1 parent 4e1639a commit fcebb94

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

soloncode-cli/src/main/resources/static/js/app-loop.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -506,9 +506,9 @@
506506
html += '<label class="loop-radio"><input type="radio" name="loopScheduleType" value="cron"/> Cron 表达式</label>';
507507
html += '<input type="text" class="loop-input loop-input-sm" id="loopFormCron" placeholder="0 */5 * * * ?"/>';
508508
html += '<span class="loop-cron-hint">示例:</span> ';
509-
html += '<a class="loop-cron-link" data-cron="0 */2 * * * ?">每2小时</a>';
510-
html += '<a class="loop-cron-link" data-cron="0 22 * * * ?">每天22点</a> ';
511-
html += '<a class="loop-cron-link" data-cron="0 0 * * 1 ?">每周一</a> ';
509+
html += '<a class="loop-cron-link" data-cron="0 0 */2 * * ?">每2小时</a>';
510+
html += '<a class="loop-cron-link" data-cron="0 0 22 * * ?">每天22点</a> ';
511+
html += '<a class="loop-cron-link" data-cron="0 0 0 * * 1">每周一</a> ';
512512
html += '</div>';
513513
html += '</div>';
514514
html += '</div>'; // 结束 loop-form-schedule

0 commit comments

Comments
 (0)