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

View File

@@ -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"
}
}

View File

@@ -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);

View File

@@ -7,7 +7,7 @@ type RequestContentType =
| 'multipart/form-data;charset=utf-8';
interface MakeAuthorization {
handle: () => null | string;
handler: () => null | string;
key?: string;
}

View File

@@ -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"
}
}