diff --git a/src/components/line-app/states/RelayState.vue b/src/components/line-app/states/RelayState.vue index aa560ab..2857dec 100644 --- a/src/components/line-app/states/RelayState.vue +++ b/src/components/line-app/states/RelayState.vue @@ -26,11 +26,14 @@ diff --git a/src/drawApp/relayScene.ts b/src/drawApp/relayScene.ts index 7f3334c..724e5a5 100644 --- a/src/drawApp/relayScene.ts +++ b/src/drawApp/relayScene.ts @@ -87,19 +87,6 @@ function handleSubscribe(relayScene: IGraphicScene) { } }); } - if (states && states.length && app.selectedGraphics.length) { - const selectedGraphic = app.selectedGraphics[0]; - const find = states.find((item) => { - return ( - item.graphicType == Relay.Type && - (item as RelayState).id == selectedGraphic.id && - selectedGraphic.updateStates(item) - ); - }); - if (find) { - lineStore.setSocketStates([find]); - } - } return states; }, graphicQueryer: (state: GraphicState, store: GraphicQueryStore) => {