Merge branch 'cherry-pick-2b67cb4a' into '6suo'

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

See merge request cyber-narrator/cn-ui!20
This commit is contained in:
陈劲松
2023-02-07 09:18:19 +00:00

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