From 707f5f32e112b0ea1f13fe14fd0eb71186d607f2 Mon Sep 17 00:00:00 2001 From: changcode Date: Thu, 5 Jan 2023 15:29:42 +0800 Subject: [PATCH] =?UTF-8?q?CN-851=20fix:=20=E6=A3=80=E6=B5=8B-=E5=AE=89?= =?UTF-8?q?=E5=85=A8=E4=BA=8B=E4=BB=B6=20=E4=B8=8B=E6=8B=89=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E5=8E=BB=E9=99=A4=E9=A6=96=E5=B0=BE=E4=B8=AD=E6=8B=AC?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detections/overview/DetectionSecurityEventOverview.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/detections/overview/DetectionSecurityEventOverview.vue b/src/views/detections/overview/DetectionSecurityEventOverview.vue index 6e828d0f..c6d9a44c 100644 --- a/src/views/detections/overview/DetectionSecurityEventOverview.vue +++ b/src/views/detections/overview/DetectionSecurityEventOverview.vue @@ -324,8 +324,8 @@ export default { getMillisecond, query () { Promise.all([this.queryBasic(), this.queryEvent()]).then((responses) => { - responses[0].malwareTechniques = responses[0].malwareTechniques.length > 2 ? responses[0].malwareTechniques.split(',', 5).join(', ') + ']' : '' - responses[0].malwareGroups = responses[0].malwareGroups.length > 2 ? responses[0].malwareGroups.split(',', 5).join(', ') + ']' : '' + responses[0].malwareTechniques = responses[0].malwareTechniques.length > 2 ? responses[0].malwareTechniques.replace('[', '').split(',', 5).join(', ') : '' + responses[0].malwareGroups = responses[0].malwareGroups.length > 2 ? responses[0].malwareGroups.replace('[', '').split(',', 5).join(', ') : '' responses[0].malwarePlatforms = responses[0].malwarePlatforms.length > 1 ? responses[0].malwarePlatforms : '' responses[0].malwareDescription = responses[0].malwareDescription.length > 1 ? responses[0].malwareDescription : '' responses[0] && (this.basicInfo = responses[0])