fix: 修复保存配置报id不能为空的bug

This commit is contained in:
xiaojunnuo
2024-08-04 22:25:51 +08:00
parent a954629ff9
commit 367f807313

View File

@@ -184,6 +184,9 @@ export class PipelineService extends BaseService<PipelineEntity> {
}
async clearTriggers(id: number) {
if (id == null) {
return;
}
const pipeline = await this.info(id);
if (!pipeline) {
return;