diff --git a/src/assets/css/components/views/entityExplorer/entityList/row.scss b/src/assets/css/components/views/entityExplorer/entityList/row.scss index 91c63829..770d812e 100644 --- a/src/assets/css/components/views/entityExplorer/entityList/row.scss +++ b/src/assets/css/components/views/entityExplorer/entityList/row.scss @@ -109,7 +109,7 @@ flex-direction: row; flex-wrap: wrap; - .basic-info__item { + .basic-info__item, .basic-info__item1 { padding-right: 30px; .item__box { @@ -172,6 +172,14 @@ color: #666; } } + .basic-info__item1 { + span: { + color: #666; + } + span:first-of-type { + color: #666; + } + } .row-item-label { font-family: NotoSansSChineseRegular; diff --git a/src/views/detections/Index.vue b/src/views/detections/Index.vue index 7918566b..0647df34 100644 --- a/src/views/detections/Index.vue +++ b/src/views/detections/Index.vue @@ -545,8 +545,10 @@ export default { const vm = this detectionChart.off('click') detectionChart.on('click', e => { - this.getFilter(e.data[1], vm.filterData.securityEvent[4].column) - vm.filterData.securityEvent[4].value = vm.triggerFilterDataValue(vm.filterData.securityEvent[4].value, e.data[1]) + if (e.data) { + vm.getFilter(e.data[1], vm.filterData.securityEvent[4].column) + vm.filterData.securityEvent[4].value = vm.triggerFilterDataValue(vm.filterData.securityEvent[4].value, e.data[1]) + } }) } }).catch(e => { diff --git a/src/views/entityExplorer/EntityExplorer.vue b/src/views/entityExplorer/EntityExplorer.vue index 7108f5ca..4745e5c6 100644 --- a/src/views/entityExplorer/EntityExplorer.vue +++ b/src/views/entityExplorer/EntityExplorer.vue @@ -391,6 +391,8 @@ export default { urlQ = encodeURI(param.str) } else if (this.q) { urlQ = encodeURI(this.q) + } else if (!this.q) { + this.isHideRelatedEntities = false } // 在非列表模式下选择tag模式,在地址栏输入内容时将mode添加到地址栏