bugfix - 关系保存错误
This commit is contained in:
parent
b19d06cf8c
commit
9006e57ad3
@ -205,7 +205,7 @@ export class Section extends JlGraphic implements ILineGraphic {
|
||||
paRelation?.getOtherRelationParam(this).param
|
||||
);
|
||||
} else {
|
||||
delete this.datas.paRef;
|
||||
this.datas.paRef = undefined;
|
||||
}
|
||||
const pbRelation = this.relationManage
|
||||
.getRelationsOfGraphic(this)
|
||||
@ -220,7 +220,7 @@ export class Section extends JlGraphic implements ILineGraphic {
|
||||
pbRelation?.getOtherRelationParam(this).param
|
||||
);
|
||||
} else {
|
||||
delete this.datas.pbRef;
|
||||
this.datas.pbRef = undefined;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -269,7 +269,7 @@ export class Turnout extends JlGraphic {
|
||||
paRelation?.getOtherRelationParam(this).param
|
||||
);
|
||||
} else {
|
||||
delete this.datas.paRef;
|
||||
this.datas.paRef = undefined;
|
||||
}
|
||||
const pbRelation = this.relationManage
|
||||
.getRelationsOfGraphic(this)
|
||||
@ -284,7 +284,7 @@ export class Turnout extends JlGraphic {
|
||||
pbRelation?.getOtherRelationParam(this).param
|
||||
);
|
||||
} else {
|
||||
delete this.datas.pbRef;
|
||||
this.datas.pbRef = undefined;
|
||||
}
|
||||
const pcRelation = this.relationManage
|
||||
.getRelationsOfGraphic(this)
|
||||
@ -299,7 +299,7 @@ export class Turnout extends JlGraphic {
|
||||
pcRelation?.getOtherRelationParam(this).param
|
||||
);
|
||||
} else {
|
||||
delete this.datas.pcRef;
|
||||
this.datas.pcRef = undefined;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user