From c778abd12301a0379c82afa6bd4c1a6c539d3035 Mon Sep 17 00:00:00 2001 From: "Ray.Hao" <1490493387@qq.com> Date: Wed, 12 Aug 2026 15:04:27 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=AD=A3=20SSE=20=E9=87=8D?= =?UTF-8?q?=E8=BF=9E=E6=B3=A8=E9=87=8A,=E4=B8=8E=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E4=BB=A4=E7=89=8C=E5=90=8E=E9=87=8D=E8=BF=9E=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E4=BF=9D=E6=8C=81=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/composables/sse/useSse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composables/sse/useSse.ts b/src/composables/sse/useSse.ts index 60c9492c..eb25a820 100644 --- a/src/composables/sse/useSse.ts +++ b/src/composables/sse/useSse.ts @@ -175,7 +175,7 @@ function createSseConnection(options: UseSseOptions = {}) { }, currentReconnectInterval); }; - // 建立连接:校验 token → fetch → 超时检测 → 消费流;401/403 不重连 + // 建立连接:校验 token → fetch → 超时检测 → 消费流;401/403 先刷新令牌重连,失败则停止 const connect = () => { isManualDisconnect = false;