From a59bff2cb7e737e6080da92967ef1b43ebd5a607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Tue, 7 Feb 2023 10:29:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20detection-performanceEvent=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E5=AF=B9eventId=E7=9A=84=E6=A0=BC=E5=BC=8F=E8=BD=AC?= =?UTF-8?q?=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 2b67cb4a0b52ab1f295405ad0c4135217db727d8) --- src/views/detections/DetectionRow.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/detections/DetectionRow.vue b/src/views/detections/DetectionRow.vue index 8d138be1..769ab4d4 100644 --- a/src/views/detections/DetectionRow.vue +++ b/src/views/detections/DetectionRow.vue @@ -205,7 +205,7 @@ export default { */ initExpendTab () { if (this.$route.query.eventId) { - if (parseFloat(this.$route.query.eventId) === this.detection.eventId) { + if (this.$route.query.eventId === this.detection.eventId) { const container = document.getElementById('cnContainer') const dom = document.getElementsByClassName('cn-detection__case') // 未展开的item折叠块,高度67+下边距10+底部线高度1,兼容不同分辨率下的tab高度