fix: 修复搜索组件一系列bug

This commit is contained in:
chenjinsong
2022-06-15 20:41:21 +08:00
parent 70c98f0274
commit 7a2674b7d4
7 changed files with 95 additions and 17 deletions

View File

@@ -428,13 +428,13 @@ export default {
if (entityTypeMeta && entityTypeMeta.operator.value === '=') {
let entityType = ''
this.limitFilterType = false
if (entityTypeMeta.value.value.toLowerCase() === "'ip'") {
if (entityTypeMeta.value.value.toLowerCase() === 'ip') {
this.limitFilterType = true
entityType = 'ip'
} else if (entityTypeMeta.value.value.toLowerCase() === "'domain'") {
} else if (entityTypeMeta.value.value.toLowerCase() === 'domain') {
this.limitFilterType = true
entityType = 'domain'
} else if (entityTypeMeta.value.value.toLowerCase() === "'app'") {
} else if (entityTypeMeta.value.value.toLowerCase() === 'app') {
this.limitFilterType = true
entityType = 'app'
} else {