fix: logs compress

This commit is contained in:
engigu
2026-03-31 20:39:26 +08:00
parent b6aad697be
commit f77c6b5233
3 changed files with 3 additions and 11 deletions
+1 -4
View File
@@ -251,10 +251,7 @@ import { decompressFromBase64 } from '@/utils/decompress'
const displayLogContent = computed(() => {
if (!logContent.value) return '无输出'
if (latestLogStatus.value !== TASK_STATUS.RUNNING && logContent.value.length > 20 && logContent.value.startsWith('eJ')) {
return decompressFromBase64(logContent.value)
}
return logContent.value
return decompressFromBase64(logContent.value)
})
async function viewLogs(taskId: string) {