chore: update deps

This commit is contained in:
vben
2024-06-23 13:19:55 +08:00
parent 7574a5914c
commit 1279872089
25 changed files with 389 additions and 3136 deletions
@@ -72,7 +72,7 @@ class RequestClient {
const authorization = this.makeAuthorization?.(config);
if (authorization) {
config.headers[authorization.key || 'Authorization'] =
authorization.handle?.();
authorization.handler?.();
}
return config;
}, this.errorHandler);
@@ -7,7 +7,7 @@ type RequestContentType =
| 'multipart/form-data;charset=utf-8';
interface MakeAuthorization {
handle: () => null | string;
handler: () => null | string;
key?: string;
}