From 49b71fcf5d5382c7c428f0d4a50a708be7c3e2fe Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 9 Mar 2024 16:49:48 +0800 Subject: [PATCH] fix #1640 --- src/views/system/LoggingView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/system/LoggingView.vue b/src/views/system/LoggingView.vue index 7758f644..c8e649d5 100644 --- a/src/views/system/LoggingView.vue +++ b/src/views/system/LoggingView.vue @@ -34,7 +34,7 @@ function extractLogDetailsFromLogs(logs: string[]): { level: string; time: strin const matches = RegExp(logPattern).exec(log) if (matches && matches.length === 5) { const [_, level, time, program, content] = matches - logDetails.push({ level, time, program, content }) + logDetails.unshift({ level, time, program, content }) } }