From a13833d8b844f7dd327334a50b5d7826e3892336 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Thu, 22 Feb 2024 15:55:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=BA=E6=99=AF=E5=8F=AA=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E7=BA=BF=E8=B7=AF=E5=9B=BE=E5=92=8C=E7=BB=A7=E7=94=B5=E5=99=A8?= =?UTF-8?q?=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/LineLayout.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/layouts/LineLayout.vue b/src/layouts/LineLayout.vue index bfea811..a1fd8f9 100644 --- a/src/layouts/LineLayout.vue +++ b/src/layouts/LineLayout.vue @@ -175,7 +175,10 @@ onMounted(async () => { projectInfo.name = res.name; projectInfo.pid = res.pid + ''; const linksArr = res.mapInfoLinks?.filter((ii) => { - return ii.type != PictureType.TrainData; + return ( + ii.type == PictureType.StationLayout || + ii.type == PictureType.RelayCabinetLayout + ); }); projectInfo.mapInfoLinks = linksArr as MapInfo[]; projectInfo.trainSizeLinks = res.trainSizeLinks;