From e5454b769d44a34af423bf87ac8a740bf8c20341 Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期二, 29 四月 2025 13:25:29 +0800 Subject: [PATCH] Merge branch 'dev' into dev_tides --- src/utils/auth.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/auth.js b/src/utils/auth.js index 41bbf84..f37484f 100644 --- a/src/utils/auth.js +++ b/src/utils/auth.js @@ -5,9 +5,9 @@ } export function setToken(token) { - localStorage.setItem(TokenKey, token) + return localStorage.setItem(TokenKey, token) } export function removeToken() { - localStorage.removeItem(TokenKey) + return localStorage.removeItem(TokenKey) } -- Gitblit v1.9.3