From 7aa10f90047c80ccb5d8c4094c2cc8a214b20107 Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Mon, 7 Mar 2022 16:15:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9dns--table=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/constants.js | 1 + .../detections/overview/DetectionSecurityEventOverview.vue | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/constants.js b/src/utils/constants.js index 294518fb..d6bdc96f 100644 --- a/src/utils/constants.js +++ b/src/utils/constants.js @@ -140,6 +140,7 @@ export const chartTableColumnMapping = { domain: 'overall.domain', appName: 'overall.appName', queryRate: 'dns.queryRate', + queryCount: 'dns.queryCount', dnsLatency: 'dns.averageResolveLatency', responseFailRate: 'dns.responseFailureRate' } diff --git a/src/views/detections/overview/DetectionSecurityEventOverview.vue b/src/views/detections/overview/DetectionSecurityEventOverview.vue index c9524d1e..eb7184a3 100644 --- a/src/views/detections/overview/DetectionSecurityEventOverview.vue +++ b/src/views/detections/overview/DetectionSecurityEventOverview.vue @@ -178,7 +178,7 @@ export default { return 'T0' } const eventStartTime = event.startTime - const entityStartTime = this.basicInfo ? this.basicInfo.startTime : '' + const entityStartTime = this.detection.startTime if (!_.isEmpty(diffSeconds) && !_.isEmpty(eventStartTime) && !_.isEmpty(entityStartTime)) { const suffix = unitConvert(diffSeconds, unitTypes.time, 's', null, 0).join('') @@ -196,7 +196,6 @@ export default { getMillisecond, query () { Promise.all([this.queryBasic(), this.queryEvent()]).then(responses => { - console.info(responses) responses[0] && (this.basicInfo = responses[0]) responses[1] && (this.events = responses[1]) })