代码调整
This commit is contained in:
parent
4eb7bb4ebd
commit
4c0378c597
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user