@deanwu/vue-component-library 1.2.30 → 1.2.31

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.
@@ -111466,6 +111466,7 @@ var crypto_js_default = /*#__PURE__*/__webpack_require__.n(crypto_js);
111466
111466
  baseUrl: '',
111467
111467
  headers: '',
111468
111468
  successCode: 200,
111469
+ timeout: 10000,
111469
111470
  dataFormatter(data) {
111470
111471
  return data;
111471
111472
  },
@@ -114007,7 +114008,9 @@ function global_install(Vue, config) {
114007
114008
  opt.params = opt.data;
114008
114009
  delete opt.data;
114009
114010
  }
114010
- opt.loading && this.$loading(typeof opt.loading == 'object' ? opt.loading : undefined);
114011
+ opt.loading && this.$loading(Object.assign({
114012
+ timeout: config.request.timeout
114013
+ }, typeof opt.loading == 'object' ? opt.loading : undefined));
114011
114014
  const source = axios_default.a.CancelToken.source();
114012
114015
  axios_default.a.create({
114013
114016
  baseURL: config.request.baseUrl,