bugfix - 关系保存错误

This commit is contained in:
Yuan 2023-06-30 17:10:57 +08:00
parent b19d06cf8c
commit 9006e57ad3
2 changed files with 5 additions and 5 deletions

View File

@ -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;
}
}

View File

@ -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;
}
}