@deanwu/vue-component-library 1.2.30 → 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.
- package/dist/vue-component-library.common.js +8 -5
- package/dist/vue-component-library.common.js.map +1 -1
- package/dist/vue-component-library.umd.js +8 -5
- package/dist/vue-component-library.umd.js.map +1 -1
- package/dist/vue-component-library.umd.min.js +1 -1
- package/dist/vue-component-library.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -110912,7 +110912,7 @@ var loading_component = normalizeComponent(
|
|
|
110912
110912
|
|
|
110913
110913
|
)
|
|
110914
110914
|
|
|
110915
|
-
/* harmony default export */ var
|
|
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,
|
|
@@ -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(
|
|
114011
|
+
let loading = 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,
|
|
@@ -114015,7 +114018,7 @@ function global_install(Vue, config) {
|
|
|
114015
114018
|
cancelToken: source.token
|
|
114016
114019
|
})(opt).then(res => {
|
|
114017
114020
|
delete axios_default.a.requestQueue[index];
|
|
114018
|
-
|
|
114021
|
+
loading && loading.close();
|
|
114019
114022
|
try {
|
|
114020
114023
|
const data = deciphering(res.data.ciphertext);
|
|
114021
114024
|
config.request.log && console.group(`----- success ${opt.url.split('?')[0]} -----`);
|
|
@@ -114061,7 +114064,7 @@ function global_install(Vue, config) {
|
|
|
114061
114064
|
config.request.log && console.groupEnd();
|
|
114062
114065
|
}).catch(e => {
|
|
114063
114066
|
delete axios_default.a.requestQueue[index];
|
|
114064
|
-
|
|
114067
|
+
loading && loading.close();
|
|
114065
114068
|
if (e.message == 'cancel') return;
|
|
114066
114069
|
this.$message({
|
|
114067
114070
|
type: 'fail',
|
|
@@ -114268,7 +114271,7 @@ const GLOBAL_COMPS = [upload, public_clipboard, dialog_min];
|
|
|
114268
114271
|
|
|
114269
114272
|
|
|
114270
114273
|
|
|
114271
|
-
const DYNAMIC_COMPS = [
|
|
114274
|
+
const DYNAMIC_COMPS = [popup_loading, popup_message, notice, popup_confirm, popup_preview];
|
|
114272
114275
|
|
|
114273
114276
|
|
|
114274
114277
|
|