WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2023-11-22 9a0ea77000478287ba82e4af0e7258fd1e43044c
bases/Fetcher.js
@@ -150,8 +150,8 @@
                    // 捕获响应
                    options && options.onCapture && options.onCapture({
                        url: this._createUrlPrefix(options) + url,
                        request: JSON.stringify(data),
                        response: JSON.stringify(response.data),
                        request: data,
                        response: { ...response.data },
                        httpCode: response.statusCode,
                    });
                    /**
@@ -173,7 +173,7 @@
                        // 捕获响应
                        options && options.onCapture && options.onCapture({
                            url: this._createUrlPrefix(options) + url,
                            request: JSON.stringify(data),
                            request: data,
                            httpCode: error && error.status,
                            httpMsg: msg + (error.message ? (' / ' + error.message) : ''),
                        });