From 58b04e302420caf597b5b88a03b091d693858e3b Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Wed, 27 Sep 2023 14:56:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E4=BB=A3?= =?UTF-8?q?=E7=A0=81+=E6=A1=86=E9=80=89bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/alarm/setAlarmText.vue | 2 +- src/layouts/MainLayout.vue | 39 --------------------------- 2 files changed, 1 insertion(+), 40 deletions(-) diff --git a/src/components/alarm/setAlarmText.vue b/src/components/alarm/setAlarmText.vue index 7a97185..bf73271 100644 --- a/src/components/alarm/setAlarmText.vue +++ b/src/components/alarm/setAlarmText.vue @@ -180,7 +180,7 @@ watch( }) as JlGraphic[]; if (setAlartTextData.value.alertType !== '列车信号故障') { selectGraphic.push(...deviceFilter); - } else { + } else if (deviceFilter.length) { selectGraphic = [deviceFilter[0]]; } selectGraphic = Array.from(new Set(selectGraphic)); diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index 6675daa..32c1768 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -83,45 +83,6 @@ - - - -
设置故障演练
- - - - - - - -
-
-