bases/Fetcher.js
@@ -30,8 +30,9 @@ 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8', 'Ax-Rq-Type': 'separation', }, credentials: 'same-origin', dataType: 'json', timeout: 10000, timeout: 30 * 1000, }; /** @@ -119,7 +120,7 @@ * @param {object} [options] * @return {Promise<any>|} */ query(type, url, data = null, remap, options) { query(type, url, data = null, remap, options = {}) { return new Promise((resolve, reject) => { Taro.request({ ...this._defaultConfig,