From 5cb105784aa0fa458f772bcc9c57eb85c2eec000 Mon Sep 17 00:00:00 2001
From: chenjinsong <523037378@qq.com>
Date: Wed, 27 Sep 2023 19:53:09 +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=E5=AE=9E=E4=BD=93=E5=B1=9E=E6=80=A7=E4=B8=BA?=
=?UTF-8?q?=E7=A9=BA=E4=B8=B2=E6=97=B6=EF=BC=8C=E4=B8=8D=E6=98=BE=E7=A4=BA?=
=?UTF-8?q?'-'=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
(cherry picked from commit 60bbb8b165877c45fea173c18e146e71d522bdf0)
---
src/views/entityExplorer/entityList/Row.vue | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/views/entityExplorer/entityList/Row.vue b/src/views/entityExplorer/entityList/Row.vue
index dd0ea329..3a798d68 100644
--- a/src/views/entityExplorer/entityList/Row.vue
+++ b/src/views/entityExplorer/entityList/Row.vue
@@ -26,7 +26,7 @@
@@ -36,36 +36,36 @@
{{ $t('entities.asn') }} :
- {{ entityData.asn ? entityData.asn.asn : '-' }}
+ {{ $_.get(entityData, 'asn.asn', '-') || '-' }}
{{ $t('entities.category') }} :
- {{ entityData.category ? entityData.category.categoryGroup : '-' }}
+ {{ $_.get(entityData, 'category.categoryGroup', '-') || '-' }}
{{ $t('entities.subcategory') }} :
- {{ entityData.category ? entityData.category.categoryName : '-' }}
+ {{ $_.get(entityData, 'category.categoryName', '-') || '-' }}
{{ $t('entities.reputationLevel') }} :
- {{ entityData.category ? entityData.category.reputationLevel : '-' }}
+ {{ $_.get(entityData, 'category.reputationLevel', '-') || '-' }}
{{ $t('entities.category') }} :
- {{ entityData.category ? entityData.category.appCategory : '-' }}
+ {{ $_.get(entityData, 'category.appCategory', '-') || '-' }}
{{ $t('entities.subcategory') }} :
- {{ entityData.category ? entityData.category.appSubcategory : '-' }}
+ {{ $_.get(entityData, 'category.appSubcategory', '-') || '-' }}