From d0eb28d5fafbb513c5a2b99be57f8b2810398d91 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Tue, 15 Jul 2025 16:39:04 +0800 Subject: [PATCH] fix: The conversation page cannot be opened after three parties enter and refresh (#3608) --- ui/src/router/chat/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/src/router/chat/index.ts b/ui/src/router/chat/index.ts index 6d443d6fc..67f097725 100644 --- a/ui/src/router/chat/index.ts +++ b/ui/src/router/chat/index.ts @@ -75,11 +75,12 @@ router.beforeEach( return } if (p_token) { - next({ ...to, query: to.query }) + const q = to.query + delete q.token + next({ ...to, query: q }) } else { next() } - return } }