@tarojs/taro-h5 3.7.0-beta.3 → 3.7.0-beta.4
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/index.esm.js
CHANGED
|
@@ -5049,7 +5049,7 @@ function _request(options = {}) {
|
|
|
5049
5049
|
const { success, complete, fail } = options;
|
|
5050
5050
|
const params = {};
|
|
5051
5051
|
const res = {};
|
|
5052
|
-
let { cache = 'default', credentials, data, dataType, header = {}, jsonp, method = 'GET', mode, responseType, signal, timeout =
|
|
5052
|
+
let { cache = 'default', credentials, data, dataType, header = {}, jsonp, method = 'GET', mode, responseType, signal, timeout = 60000, url = '' } = options, opts = __rest(options, ["cache", "credentials", "data", "dataType", "header", "jsonp", "method", "mode", "responseType", "signal", "timeout", "url"]);
|
|
5053
5053
|
Object.assign(params, opts);
|
|
5054
5054
|
if (jsonp) {
|
|
5055
5055
|
// @ts-ignore
|