From e181f04c642204e79749af93fa921875ff6c21ba Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期二, 20 五月 2025 10:46:35 +0800 Subject: [PATCH] refactor(qms): 重构趋势图展示逻辑 --- src/utils/sse.ts | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/utils/sse.ts b/src/utils/sse.ts index 5234648..69447ad 100644 --- a/src/utils/sse.ts +++ b/src/utils/sse.ts @@ -9,10 +9,7 @@ } url = url + '?Authorization=Bearer ' + getToken() + '&clientid=' + import.meta.env.VITE_APP_CLIENT_ID; - const { - data, - error - } = useEventSource(url, [], { + const { data, error } = useEventSource(url, [], { autoReconnect: { retries: 10, delay: 3000, -- Gitblit v1.9.3