From 57609406be81cab370908cf2856d7c85e934ee63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Thu, 29 Jun 2023 11:15:15 +0800 Subject: [PATCH] =?UTF-8?q?CN-1093=20fix:=20=E6=B7=BB=E5=8A=A0=E5=AE=9E?= =?UTF-8?q?=E4=BD=93=E7=B1=BB=E5=9E=8B=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/entityExplorer/EntityGraph.vue | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/views/entityExplorer/EntityGraph.vue b/src/views/entityExplorer/EntityGraph.vue index e45ca6cc..fde368e0 100644 --- a/src/views/entityExplorer/EntityGraph.vue +++ b/src/views/entityExplorer/EntityGraph.vue @@ -48,7 +48,22 @@ export default { entityName: name }) const mode = ref('') - mode.value = 'appList' + switch (entityType) { + case 'ip': + { + mode.value = 'ipList' + break + } + case 'domain': + { + mode.value = 'domainList' + break + } + case 'app': + { + mode.value = 'appList' + } + } return { entity,