From 10ed093eb88d5d87d84fd7ddb8303052bfb246c0 Mon Sep 17 00:00:00 2001 From: zhaoying Date: Wed, 4 Feb 2026 18:51:09 +0800 Subject: [PATCH] feat(web): update JumpPage cookie --- web/src/views/JumpPage.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/views/JumpPage.tsx b/web/src/views/JumpPage.tsx index d377b13d..9d6b3b5c 100644 --- a/web/src/views/JumpPage.tsx +++ b/web/src/views/JumpPage.tsx @@ -1,8 +1,8 @@ /* * @Author: ZhaoYing * @Date: 2026-02-04 18:34:36 - * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-02-04 18:34:36 + * @Last Modified by: ZhaoYing + * @Last Modified time: 2026-02-04 18:49:59 */ import { useEffect, type FC } from 'react' import { useNavigate, useSearchParams } from 'react-router-dom' @@ -33,8 +33,8 @@ const JumpPage: FC = () => { const { access_token, refresh_token, target } = data // Store authentication tokens in cookies for API authorization - cookieUtils.set('access_token', access_token) - cookieUtils.set('refresh_token', refresh_token) + cookieUtils.set('authToken', access_token) + cookieUtils.set('refreshToken', refresh_token) // Redirect to the target page if specified if (target) {