Skip to content

fix: 保持 Cron 首次执行选项禁用#46

Open
tyza66 wants to merge 1 commit into
opensolon:mainfrom
tyza66:main
Open

fix: 保持 Cron 首次执行选项禁用#46
tyza66 wants to merge 1 commit into
opensolon:mainfrom
tyza66:main

Conversation

@tyza66

@tyza66 tyza66 commented Jul 14, 2026

Copy link
Copy Markdown

触发方式:

  1. 新建循环任务(定时心跳)
  2. 选择Cron表达式并输入表达式
  3. 保存
  4. 点击新增的任务右侧的编辑按钮
  5. 可以看到第一行的那个固定间隔的时候才能点击的的复选框未被禁用
image

Copilot AI review requested due to automatic review settings July 14, 2026 08:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

此 PR 修复了循环任务在“编辑”场景下,选择 Cron 表达式时“首次执行(runNow)”相关复选框未按预期保持禁用的问题,确保表单联动禁用逻辑在异步加载任务数据并解除全表单禁用后仍会被正确应用。

Changes:

  • 在编辑模式加载任务数据完成、重新启用表单控件后,主动触发已选中的 loopScheduleTypechange 事件,以重新计算并应用禁用状态。

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants