From cc368519b795380469dc78c5cbbc80f41653e3a6 Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Sat, 2 Apr 2022 16:27:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AE=9E=E4=BD=93?= =?UTF-8?q?=E5=88=97=E8=A1=A8=20IP=20=E5=88=A4=E6=96=AD=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/charts/charts/IpBasicInfo.vue | 8 ++++---- .../entityExplorer/entityList/detailOverview/Ip.vue | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/charts/charts/IpBasicInfo.vue b/src/views/charts/charts/IpBasicInfo.vue index 9a2d55d9..7df5930c 100644 --- a/src/views/charts/charts/IpBasicInfo.vue +++ b/src/views/charts/charts/IpBasicInfo.vue @@ -9,10 +9,10 @@ {{(chartData && chartData.dnsPtr) || '-'}} - {{$_.get(detectionsData, 'dnsServerRole', '-')}} - {{$_.get(detectionsData, 'dnsServerOrg', '-')}} - {{$_.get(detectionsData, 'dnsServerSoftware', '-')}} - {{$_.get(detectionsData, 'dnsServerOs', '-')}} + {{$_.get(detectionsData, 'dnsServerRole') || '-'}} + {{$_.get(detectionsData, 'dnsServerOrg') || '-'}} + {{$_.get(detectionsData, 'dnsServerSoftware') || '-'}} + {{$_.get(detectionsData, 'dnsServerOs') || '-'}} {{detectionIpSupporting(detectionsData)}} diff --git a/src/views/entityExplorer/entityList/detailOverview/Ip.vue b/src/views/entityExplorer/entityList/detailOverview/Ip.vue index 4e4034f0..4dbcf7e3 100644 --- a/src/views/entityExplorer/entityList/detailOverview/Ip.vue +++ b/src/views/entityExplorer/entityList/detailOverview/Ip.vue @@ -17,23 +17,23 @@
{{$t('overall.dnsServerInfo.role')}}
-
{{$_.get(entityData, 'dnsServerRole', '-')}}
+
{{$_.get(entityData, 'dnsServerRole') || '-'}}
{{$t('overall.dnsServerInfo.mechanism')}}
-
{{$_.get(entityData, 'dnsServerOrg', '-')}}
+
{{$_.get(entityData, 'dnsServerOrg') || '-'}}
{{$t('overall.dnsServerInfo.software')}}
-
{{$_.get(entityData, 'dnsServerSoftware', '-')}}
+
{{$_.get(entityData, 'dnsServerSoftware') || '-'}}
{{$t('overall.dnsServerInfo.system')}}
-
{{$_.get(entityData, 'dnsServerOs', '-')}}
+
{{$_.get(entityData, 'dnsServerOs') || '-'}}
{{$t('overall.dnsServerInfo.protocol')}}
-
{{detectionIpSupporting(entityData)}}
+
{{detectionIpSupporting(entityData) || '-'}}
{{$t('overall.dnsServerInfo.queryRate')}}