代码调整

This commit is contained in:
dong 2023-11-09 14:56:40 +08:00
parent 1747165bb3
commit f3cf633371

View File

@ -277,9 +277,7 @@ watch(
const find = val.find((item) => {
return (
item.graphicType == Turnout.Type &&
(item as ITurnoutState).id == turnoutState.value.id &&
lineStore.selectedGraphics &&
lineStore.selectedGraphics[0].updateStates(item)
(item as ITurnoutState).id == turnoutState.value.id
);
});
if (find) {