代码调整

This commit is contained in:
dong 2023-07-28 15:42:12 +08:00
parent 4eb7bb4ebd
commit 4c0378c597
2 changed files with 6 additions and 2 deletions

View File

@ -89,6 +89,8 @@ export class SeparatorTemplate extends JlGraphicTemplate<Separator> {
});
}
new(): Separator {
return new Separator();
const separator = new Separator();
separator.loadData(this.datas);
return separator;
}
}

View File

@ -162,6 +162,8 @@ export class TransponderTemplate extends JlGraphicTemplate<Transponder> {
});
}
new(): Transponder {
return new Transponder();
const transponder = new Transponder();
transponder.loadData(this.datas);
return transponder;
}
}