diff --git a/src/utils/constants.js b/src/utils/constants.js
index 46849186..86d37711 100644
--- a/src/utils/constants.js
+++ b/src/utils/constants.js
@@ -2625,7 +2625,7 @@ export const entityDetailTags = {
},
{
name: 'vpnServiceName',
- type: 'normal'
+ type: 'negative'
}
],
ip: [
@@ -2651,7 +2651,7 @@ export const entityDetailTags = {
},
{
name: 'vpnServiceName',
- type: 'normal'
+ type: 'negative'
}
],
app: [
diff --git a/src/utils/tools.js b/src/utils/tools.js
index 968f3eb7..979d6298 100644
--- a/src/utils/tools.js
+++ b/src/utils/tools.js
@@ -1502,7 +1502,7 @@ export const formatTags = (data, type, list) => {
if (k !== 'userDefinedTags' && data[k]) {
if (_.isArray(data[k])) {
data[k].forEach(k3 => {
- const find = entityDetailTags[type].find(t => t.name === k3.vpnServiceName)
+ const find = entityDetailTags[type].find(t => t.name === 'vpnServiceName')
if (find) {
list.push({ key: 'vpnServiceName', value: tagValueHandler(k3.vpnServiceName), type: find.type })
} else {
diff --git a/src/views/entityExplorer/EntityExplorer.vue b/src/views/entityExplorer/EntityExplorer.vue
index cfae1c83..7269b279 100644
--- a/src/views/entityExplorer/EntityExplorer.vue
+++ b/src/views/entityExplorer/EntityExplorer.vue
@@ -49,7 +49,7 @@
{{ summaryCount.appCount }}
-
+
@@ -60,7 +60,7 @@
{{ $t('entity.entityMode') }}
{{ $t('entity.relatedMode') }}
-
+
@@ -614,9 +614,9 @@ export default {
this.listData = []
this.$nextTick(() => {
this.listData = response.data.data.list
- if (this.listData.length === 0) {
+ /*if (this.listData.length === 0) {
this.isHideRelatedEntities = false
- }
+ }*/
})
} else {
this.$message.error(response.data.message)