@deanwu/vue-component-library 1.2.31 → 1.2.32

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.
@@ -110912,7 +110912,7 @@ var loading_component = normalizeComponent(
110912
110912
 
110913
110913
  )
110914
110914
 
110915
- /* harmony default export */ var loading = (loading_component.exports);
110915
+ /* harmony default export */ var popup_loading = (loading_component.exports);
110916
110916
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"48032ffa-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/popup/message.vue?vue&type=template&id=40722425&scoped=true&
110917
110917
  var messagevue_type_template_id_40722425_scoped_true_render = function render() {
110918
110918
  var _vm = this,
@@ -114008,7 +114008,7 @@ function global_install(Vue, config) {
114008
114008
  opt.params = opt.data;
114009
114009
  delete opt.data;
114010
114010
  }
114011
- opt.loading && this.$loading(Object.assign({
114011
+ let loading = opt.loading && this.$loading(Object.assign({
114012
114012
  timeout: config.request.timeout
114013
114013
  }, typeof opt.loading == 'object' ? opt.loading : undefined));
114014
114014
  const source = axios_default.a.CancelToken.source();
@@ -114018,7 +114018,7 @@ function global_install(Vue, config) {
114018
114018
  cancelToken: source.token
114019
114019
  })(opt).then(res => {
114020
114020
  delete axios_default.a.requestQueue[index];
114021
- opt.loading && this.$loadOver();
114021
+ loading && loading.close();
114022
114022
  try {
114023
114023
  const data = deciphering(res.data.ciphertext);
114024
114024
  config.request.log && console.group(`----- success ${opt.url.split('?')[0]} -----`);
@@ -114064,7 +114064,7 @@ function global_install(Vue, config) {
114064
114064
  config.request.log && console.groupEnd();
114065
114065
  }).catch(e => {
114066
114066
  delete axios_default.a.requestQueue[index];
114067
- opt.loading && this.$loadOver();
114067
+ loading && loading.close();
114068
114068
  if (e.message == 'cancel') return;
114069
114069
  this.$message({
114070
114070
  type: 'fail',
@@ -114271,7 +114271,7 @@ const GLOBAL_COMPS = [upload, public_clipboard, dialog_min];
114271
114271
 
114272
114272
 
114273
114273
 
114274
- const DYNAMIC_COMPS = [loading, popup_message, notice, popup_confirm, popup_preview];
114274
+ const DYNAMIC_COMPS = [popup_loading, popup_message, notice, popup_confirm, popup_preview];
114275
114275
 
114276
114276
 
114277
114277