@deanwu/vue-component-library 1.3.113 → 1.3.115
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 +22 -15
- package/dist/vue-component-library.common.js.map +1 -1
- package/dist/vue-component-library.umd.js +22 -15
- package/dist/vue-component-library.umd.js.map +1 -1
- package/dist/vue-component-library.umd.min.js +2 -2
- package/dist/vue-component-library.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -42297,8 +42297,8 @@ function renderHead(h, col) {
|
|
|
42297
42297
|
}
|
|
42298
42298
|
}
|
|
42299
42299
|
});
|
|
42300
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c663cd22-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/table/button_group.vue?vue&type=template&id=
|
|
42301
|
-
var
|
|
42300
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c663cd22-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/table/button_group.vue?vue&type=template&id=9af01802&
|
|
42301
|
+
var button_groupvue_type_template_id_9af01802_render = function render() {
|
|
42302
42302
|
var _vm = this,
|
|
42303
42303
|
_c = _vm._self._c;
|
|
42304
42304
|
return _c('div', {
|
|
@@ -42322,7 +42322,7 @@ var button_groupvue_type_template_id_fe96939a_render = function render() {
|
|
|
42322
42322
|
return _vm.buttonHadnle(item);
|
|
42323
42323
|
}
|
|
42324
42324
|
}
|
|
42325
|
-
})], 1) : _c('item-button', {
|
|
42325
|
+
}, [_vm._v(_vm._s(_vm.$t(item.$slots.default[0].text)))])], 1) : _c('item-button', {
|
|
42326
42326
|
key: i,
|
|
42327
42327
|
attrs: {
|
|
42328
42328
|
"data": item
|
|
@@ -42333,7 +42333,7 @@ var button_groupvue_type_template_id_fe96939a_render = function render() {
|
|
|
42333
42333
|
return _vm.buttonHadnle(item);
|
|
42334
42334
|
}
|
|
42335
42335
|
}
|
|
42336
|
-
})];
|
|
42336
|
+
}, [_vm._v(_vm._s(_vm.$t(item.$slots.default[0].text)))])];
|
|
42337
42337
|
}), _vm.buttonList.more ? _c('div', {
|
|
42338
42338
|
ref: "more",
|
|
42339
42339
|
staticClass: "c-table-button-item ellipsis flex-center",
|
|
@@ -42394,7 +42394,7 @@ var button_groupvue_type_template_id_fe96939a_render = function render() {
|
|
|
42394
42394
|
return _vm.buttonHadnle(item);
|
|
42395
42395
|
}
|
|
42396
42396
|
}
|
|
42397
|
-
})], 1) : _c('more-button', {
|
|
42397
|
+
}, [_vm._v(_vm._s(_vm.$t(item.$slots.default[0].text)))])], 1) : _c('more-button', {
|
|
42398
42398
|
key: i,
|
|
42399
42399
|
attrs: {
|
|
42400
42400
|
"data": item
|
|
@@ -42405,7 +42405,7 @@ var button_groupvue_type_template_id_fe96939a_render = function render() {
|
|
|
42405
42405
|
return _vm.buttonHadnle(item);
|
|
42406
42406
|
}
|
|
42407
42407
|
}
|
|
42408
|
-
})];
|
|
42408
|
+
}, [_vm._v(_vm._s(_vm.$t(item.$slots.default[0].text)))])];
|
|
42409
42409
|
})], 2)]) : _vm._e(), _c('div', {
|
|
42410
42410
|
ref: "hidden",
|
|
42411
42411
|
staticStyle: {
|
|
@@ -42413,9 +42413,9 @@ var button_groupvue_type_template_id_fe96939a_render = function render() {
|
|
|
42413
42413
|
}
|
|
42414
42414
|
}, [_vm._t("default")], 2)], 2);
|
|
42415
42415
|
};
|
|
42416
|
-
var
|
|
42416
|
+
var button_groupvue_type_template_id_9af01802_staticRenderFns = [];
|
|
42417
42417
|
|
|
42418
|
-
// CONCATENATED MODULE: ./src/components/table/button_group.vue?vue&type=template&id=
|
|
42418
|
+
// CONCATENATED MODULE: ./src/components/table/button_group.vue?vue&type=template&id=9af01802&
|
|
42419
42419
|
|
|
42420
42420
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/table/button_group.vue?vue&type=script&lang=js&
|
|
42421
42421
|
|
|
@@ -42430,7 +42430,7 @@ const itemButton = {
|
|
|
42430
42430
|
}
|
|
42431
42431
|
}, [this.data.icon ? [h("i", {
|
|
42432
42432
|
"class": `c-table-button-icon ${this.data.icon}`
|
|
42433
|
-
})] : [], h("span", [this.$t(this
|
|
42433
|
+
})] : [], h("span", [this.$t(this.$slots.default[0].text)])]);
|
|
42434
42434
|
},
|
|
42435
42435
|
props: {
|
|
42436
42436
|
data: Object
|
|
@@ -42447,7 +42447,7 @@ const moreButton = {
|
|
|
42447
42447
|
}
|
|
42448
42448
|
}, [this.data.icon ? [h("i", {
|
|
42449
42449
|
"class": `c-table-button-icon ${this.data.icon}`
|
|
42450
|
-
})] : [], h("span", [this.$t(this
|
|
42450
|
+
})] : [], h("span", [this.$t(this.$slots.default[0].text)])]);
|
|
42451
42451
|
},
|
|
42452
42452
|
props: {
|
|
42453
42453
|
data: Object
|
|
@@ -42512,7 +42512,6 @@ const moreButton = {
|
|
|
42512
42512
|
if (item.disabled) {
|
|
42513
42513
|
item.$emit('disabledClick');
|
|
42514
42514
|
} else {
|
|
42515
|
-
console.log(item);
|
|
42516
42515
|
this.moreHandle(false);
|
|
42517
42516
|
item.$emit('click');
|
|
42518
42517
|
}
|
|
@@ -42562,8 +42561,8 @@ const moreButton = {
|
|
|
42562
42561
|
|
|
42563
42562
|
var button_group_component = normalizeComponent(
|
|
42564
42563
|
table_button_groupvue_type_script_lang_js_,
|
|
42565
|
-
|
|
42566
|
-
|
|
42564
|
+
button_groupvue_type_template_id_9af01802_render,
|
|
42565
|
+
button_groupvue_type_template_id_9af01802_staticRenderFns,
|
|
42567
42566
|
false,
|
|
42568
42567
|
null,
|
|
42569
42568
|
null,
|
|
@@ -56036,7 +56035,15 @@ function global_install(Vue, config) {
|
|
|
56036
56035
|
delete axios_default.a.requestQueue[index];
|
|
56037
56036
|
loading && loading.close();
|
|
56038
56037
|
if (opt.responseType == 'blob') {
|
|
56039
|
-
|
|
56038
|
+
try {
|
|
56039
|
+
opt.success(res);
|
|
56040
|
+
} catch (e) {
|
|
56041
|
+
this.$message({
|
|
56042
|
+
type: 'fail',
|
|
56043
|
+
message: '程序出现未知异常'
|
|
56044
|
+
});
|
|
56045
|
+
console.error(e);
|
|
56046
|
+
}
|
|
56040
56047
|
return;
|
|
56041
56048
|
}
|
|
56042
56049
|
try {
|
|
@@ -56076,7 +56083,7 @@ function global_install(Vue, config) {
|
|
|
56076
56083
|
config.request.log && console.group(`----- error ${opt.url.split('?')[0]} -----`);
|
|
56077
56084
|
config.request.log && console.log('@param', param);
|
|
56078
56085
|
config.request.log && console.log('@return', res);
|
|
56079
|
-
if (!opt.error || opt.error() !== false) {
|
|
56086
|
+
if (!opt.error || opt.error(res.data) !== false) {
|
|
56080
56087
|
this.$message({
|
|
56081
56088
|
type: 'fail',
|
|
56082
56089
|
message: '数据出现未知异常'
|