@airpower/web 1.4.4 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/http/Http.d.ts +1 -1
- package/dist/main.js +4 -1
- package/package.json +1 -1
package/dist/http/Http.d.ts
CHANGED
package/dist/main.js
CHANGED
|
@@ -15172,7 +15172,10 @@ class Http {
|
|
|
15172
15172
|
* @param request.params 请求参数
|
|
15173
15173
|
*/
|
|
15174
15174
|
async axiosRequest(request) {
|
|
15175
|
-
|
|
15175
|
+
if (!request) {
|
|
15176
|
+
request = {};
|
|
15177
|
+
}
|
|
15178
|
+
const { body = void 0, params = void 0 } = request;
|
|
15176
15179
|
const axiosConfig = {};
|
|
15177
15180
|
axiosConfig.url = this.url;
|
|
15178
15181
|
axiosConfig.headers = this.headers;
|