fix: detection-performanceEvent去除对eventId的格式转换

(cherry picked from commit 2b67cb4a0b)
This commit is contained in:
刘洪洪
2023-02-07 10:29:27 +08:00
committed by 陈劲松
parent 04651581fe
commit a59bff2cb7

View File

@@ -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高度