From 81fb19092edc315ad4fe70b4697bdbbc5d38e4d6 Mon Sep 17 00:00:00 2001 From: changDongFang <2628162102@qq.com> Date: Mon, 9 Jun 2025 17:30:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=A0=E9=99=A4bearer=E5=89=8D?= =?UTF-8?q?=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/interceptors/request.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interceptors/request.ts b/src/interceptors/request.ts index 05a7b5b..4662f4e 100644 --- a/src/interceptors/request.ts +++ b/src/interceptors/request.ts @@ -54,7 +54,7 @@ const httpInterceptor = { const userStore = useUserStore() const { token } = userStore.userInfo as unknown as IUserInfo if (token) { - options.header.Authorization = `Bearer ${token}` + options.header.Authorization = `${token}` } }, }