Merge branch 'main' into release/v1.4#1332
Closed
cyfung1031 wants to merge 1 commit intorelease/v1.4from
Closed
Conversation
* 优化 nextTimeDisplay 避免cron表达式错误导致整个页面死掉
* 优化 crontabScript 错误显示
* 修正测试
* 中文
* fix: 修复 cron 错误处理中的问题
- 删除 ERROR_TEXT 哨兵常量,改用 i18n 文案 t("cron_invalid_expr")
- 移除 nextTimeDisplay 中冗余的 date 参数守卫
- script.ts 中用 extractCronExpr 替代 nextTimeDisplay 做校验,解耦展示层和解析层
- 测试改为验证不抛异常
---------
Co-authored-by: 王一之 <yz@ggnb.top>
Collaborator
Author
|
有 conflict 我合不了 @CodFrm |
Member
|
不用合并得那么频繁 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.