chore: update deps
This commit is contained in:
@@ -33,6 +33,6 @@
|
||||
"@vben-core/toolkit": "workspace:*",
|
||||
"@vben-core/typings": "workspace:*",
|
||||
"@vueuse/core": "^10.11.0",
|
||||
"vue": "^3.4.29"
|
||||
"vue": "^3.4.30"
|
||||
}
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -42,7 +42,7 @@
|
||||
"@vben-core/typings": "workspace:*",
|
||||
"pinia": "2.1.7",
|
||||
"pinia-plugin-persistedstate": "^3.2.1",
|
||||
"vue": "^3.4.29",
|
||||
"vue": "^3.4.30",
|
||||
"vue-router": "^4.4.0"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user