逻辑区段调整
This commit is contained in:
parent
bc0844523b
commit
37d73efc9d
@ -84,15 +84,9 @@ function onUpdate() {
|
||||
|
||||
const logicSectionRelations = computed(() => {
|
||||
const logicSection = drawStore.selectedGraphic as LogicSection;
|
||||
const sectionRelations =
|
||||
logicSection?.relationManage.getRelationsOfGraphicAndOtherType(
|
||||
logicSection,
|
||||
AxleCountingSection.Type
|
||||
);
|
||||
const ref = sectionRelations.map(
|
||||
(relation) =>
|
||||
`${relation.getOtherGraphic<LogicSection>(logicSection).datas.code}`
|
||||
);
|
||||
return Array.from(new Set(ref));
|
||||
const axleCountingSection = logicSection.queryStore.queryById(
|
||||
logicSection.datas.axleSectionId
|
||||
) as AxleCountingSection;
|
||||
return [axleCountingSection.datas.code];
|
||||
});
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user