From 99f3abebffe5f0827f25b986311a1612916ffe1e Mon Sep 17 00:00:00 2001 From: "1960116313@qq.com" <1960116313@qq.com> Date: Sat, 20 Jan 2024 17:32:34 +0800 Subject: [PATCH] fix:tokenScheme: 'crypto', --- src/utils/axios/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/axios/index.ts b/src/utils/axios/index.ts index 68bcc67..0dbe768 100644 --- a/src/utils/axios/index.ts +++ b/src/utils/axios/index.ts @@ -258,8 +258,8 @@ function createAxios(opt?: Partial) { { // See https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication#authentication_schemes // authentication schemes,e.g: Bearer - // crypto - tokenScheme: '', + + tokenScheme: 'crypto', authenticationScheme: 'Basic', timeout: 10 * 1000, // 基础接口地址