perf: 支持页脚自定义

This commit is contained in:
xiaojunnuo
2026-04-29 00:07:20 +08:00
parent 64b3184b28
commit c985a13544
13 changed files with 35 additions and 9 deletions
@@ -702,11 +702,16 @@ export class PipelineService extends BaseService<PipelineEntity> {
}
await doSaveHistory(latest);
}
async start(){
this.started = true
//先存一次,确保有数据
await this.save();
setTimeout(()=>{
//2秒后保存一次,尽快显示第一个任务的状态
this.save();
}, 1000 * 2);
this.interval = setInterval(()=>{
//之后每5秒保存一次
this.save();
}, 1000 * 5);
}