CN-403 fix: performance详情域名截取二级域名

This commit is contained in:
chenjinsong
2022-03-17 18:02:33 +08:00
parent 4e737f5871
commit c4c5c89b2f
2 changed files with 3 additions and 4 deletions

View File

@@ -6,9 +6,8 @@
<div class="row__content">
<span
class="row__content--link"
@click="goDetail('domain', detection.domain)"
>{{ detection.domain }}</span
>
@click="goDetail('domain', computeSecondaryDomain(detection.domain))"
>{{ computeSecondaryDomain(detection.domain) }}</span>
<template v-if="detection.eventType === 'dns error'">
<span>
{{$t('detections.dnsQueryError')}}

View File

@@ -173,7 +173,7 @@
<span>{{ $t('detections.viewDetailOf') }}</span> &nbsp;
<span
class="row__content--link"
@click="goDetail('ip', basicInfo.victimIp)"></span>
@click="goDetail('ip', basicInfo.victimIp)">{{ basicInfo.victimIp }}</span>
</div>
</div>
<div class="overview__title">{{ $t('detections.goToOffender') }}</div>