From 79f1b1458b23db5ffe9a5a8a5efda2041d543ae3 Mon Sep 17 00:00:00 2001 From: CityFun <31820853+zhengkunwang223@users.noreply.github.com> Date: Fri, 9 Jan 2026 11:14:07 +0800 Subject: [PATCH] fix: Fix infinite log reading issue (#11603) --- frontend/src/components/log/file/index.vue | 5 ----- 1 file changed, 5 deletions(-) diff --git a/frontend/src/components/log/file/index.vue b/frontend/src/components/log/file/index.vue index 13b280b30..2fa44b741 100644 --- a/frontend/src/components/log/file/index.vue +++ b/frontend/src/components/log/file/index.vue @@ -151,7 +151,6 @@ const containerHeight = ref(500); const scrollTop = ref(0); const lastScrollTop = ref(0); const totalLines = ref(0); -const stopReading = ref(false); const totalPages = ref(0); let resizeObserver: ResizeObserver | null = null; const isEndOfFile = ref(false); @@ -387,10 +386,6 @@ const getContent = async (pre: boolean) => { }; const onCloseLog = async () => { - if (stopReading.value) { - return; - } - stopReading.value = true; tailLog.value = false; if (timer) { clearInterval(Number(timer));