From 09e3333a0d05997594ec4323dc65eee0c432ebc5 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Fri, 22 Sep 2023 11:18:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/alarm/setAlarmMock.vue | 1 + src/components/alarm/setAlarmText.vue | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/alarm/setAlarmMock.vue b/src/components/alarm/setAlarmMock.vue index 6cd657d..ad13ca5 100644 --- a/src/components/alarm/setAlarmMock.vue +++ b/src/components/alarm/setAlarmMock.vue @@ -133,6 +133,7 @@ watch( appSelectedGraphicsId !== undefined && isArraysEqual(selectGraphicId, appSelectedGraphicsId) ) { + selectGraphic.forEach((g) => g.updateSelected(true)); return; } const deviceFilter = lineStore.selectedGraphics?.filter((g) => { diff --git a/src/components/alarm/setAlarmText.vue b/src/components/alarm/setAlarmText.vue index 42dc8cf..4d19c8b 100644 --- a/src/components/alarm/setAlarmText.vue +++ b/src/components/alarm/setAlarmText.vue @@ -96,7 +96,7 @@