fix: 修复批量修改定时没有立即显示生效的bug

This commit is contained in:
xiaojunnuo
2025-10-30 15:08:14 +08:00
parent f7cf7c198d
commit c16660254b
2 changed files with 5 additions and 4 deletions
@@ -255,6 +255,11 @@ export class PipelineService extends BaseService<PipelineEntity> {
bean.title = pipeline.title;
}
pipeline.id = bean.id;
if (pipeline.version == null) {
pipeline.version = 0;
}
pipeline.version++;
bean.content = JSON.stringify(pipeline);
await this.addOrUpdate(bean);
await this.registerTrigger(bean);