From b234e50e9b77b0eb9b0292242d9c8d25cdd1f1a5 Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Tue, 8 Mar 2022 22:38:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20detection=20=E4=BC=98=E5=8C=96=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=97=A0=E6=95=B0=E6=8D=AE=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/detections/DetectionRow.vue | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/detections/DetectionRow.vue b/src/views/detections/DetectionRow.vue index 4428c7f0..dc3b9e0a 100644 --- a/src/views/detections/DetectionRow.vue +++ b/src/views/detections/DetectionRow.vue @@ -8,10 +8,10 @@
- {{detection.offenderIp}} + {{detection.offenderIp || '-'}} ------- - {{detection.victimIp}} + {{detection.victimIp || '-'}}
@@ -23,44 +23,44 @@
{{$t('detection.list.eventSecurity')}} :   - {{detection.eventSecurity}} + {{detection.eventSecurity || '-'}}
{{$t('detections.eventSeverity')}} :   - {{detection.eventSeverity}} + {{detection.eventSeverity || '-'}}
{{$t('detection.list.securityType')}} :   - {{detection.securityType}} + {{detection.securityType || '-'}}
{{$t('detections.eventType')}} :   - {{detection.eventType}} + {{detection.eventType || '-'}}
{{$t('detection.list.malwareName')}} :   - {{detection.malwareName}} + {{detection.malwareName || '-'}}
{{$t('detection.list.cryptominingPool')}} :   - {{detection.cryptominingPool}} + {{detection.cryptominingPool || '-'}}
{{$t('detection.list.startTime')}} :   - {{dayJs.tz(getMillisecond(detection.startTime)).format('YYYY-MM-DD HH:mm:ss')}} + {{dayJs.tz(getMillisecond(detection.startTime)).format('YYYY-MM-DD HH:mm:ss') || '-'}}
{{$t('overall.duration')}} :   - {{unitConvert(detection.durationMs, 'time', null, null, 0).join(' ')}} + {{unitConvert(detection.durationMs, 'time', null, null, 0).join(' ') || '-'}}