diff --git a/src/components/draw-app/properties/LogicSectionProperty.vue b/src/components/draw-app/properties/LogicSectionProperty.vue index 93c9545..8c51724 100644 --- a/src/components/draw-app/properties/LogicSectionProperty.vue +++ b/src/components/draw-app/properties/LogicSectionProperty.vue @@ -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).datas.code}` - ); - return Array.from(new Set(ref)); + const axleCountingSection = logicSection.queryStore.queryById( + logicSection.datas.axleSectionId + ) as AxleCountingSection; + return [axleCountingSection.datas.code]; });