From fb7bca27eb17aedf33fe5a1e9be63eb43ec299eb Mon Sep 17 00:00:00 2001 From: QianRj <14974713+qianrj@user.noreply.gitee.com> Date: 星期四, 06 二月 2025 20:20:40 +0800 Subject: [PATCH] fix 修复 路由守卫白名单通配符正则覆盖问题 --- 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