bk-magic-vue 2.5.8-beta.4 → 2.5.8-beta.6
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/bk-magic-vue.js +2 -6
- package/dist/bk-magic-vue.min.js +1 -1
- package/dist/bk-magic-vue.min.js.gz +0 -0
- package/dist/bk-magic-vue.min.js.map +1 -1
- package/lib/message.js +0 -3
- package/lib/option.js +2 -1
- package/lib/pagination.js +2 -1
- package/lib/select.js +2 -1
- package/lib/swiper.js +0 -1
- package/lib/table.js +2 -2
- package/package.json +1 -1
package/dist/bk-magic-vue.js
CHANGED
|
@@ -31297,7 +31297,6 @@
|
|
|
31297
31297
|
methods: {
|
|
31298
31298
|
handleFixMessage: function handleFixMessage(isFixed) {
|
|
31299
31299
|
this.isFixed = isFixed;
|
|
31300
|
-
console.log('handleFixMessage', isFixed);
|
|
31301
31300
|
if (isFixed) {
|
|
31302
31301
|
this.stopCountDown();
|
|
31303
31302
|
} else {
|
|
@@ -31312,13 +31311,11 @@
|
|
|
31312
31311
|
var _this = this;
|
|
31313
31312
|
if (this.delay > 0 && !this.isFixed) {
|
|
31314
31313
|
this.countID = setTimeout(function () {
|
|
31315
|
-
console.log('--Close');
|
|
31316
31314
|
_this.visible && _this.close();
|
|
31317
31315
|
}, this.delay);
|
|
31318
31316
|
}
|
|
31319
31317
|
},
|
|
31320
31318
|
stopCountDown: function stopCountDown() {
|
|
31321
|
-
console.log('--stopCountDown');
|
|
31322
31319
|
clearTimeout(this.countID);
|
|
31323
31320
|
},
|
|
31324
31321
|
close: function close() {
|
|
@@ -31886,7 +31883,8 @@
|
|
|
31886
31883
|
}, [_vm.selectedStyle === 'checkbox' && _vm.select.multiple ? [_c('bk-checkbox', {
|
|
31887
31884
|
staticClass: "bk-option-checkbox",
|
|
31888
31885
|
attrs: {
|
|
31889
|
-
"value": _vm.isSelected
|
|
31886
|
+
"value": _vm.isSelected,
|
|
31887
|
+
"disabled": _vm.disabled
|
|
31890
31888
|
}
|
|
31891
31889
|
}, [_vm._v(_vm._s(_vm.name))])] : [_vm.select.multiple && _vm.isSelected ? _c('i', {
|
|
31892
31890
|
staticClass: "bk-option-icon bk-icon icon-check-1"
|
|
@@ -40202,7 +40200,6 @@
|
|
|
40202
40200
|
}
|
|
40203
40201
|
setTimeout(function () {
|
|
40204
40202
|
var tableHeight = _this2.tableHeight = _this2.table.$el.offsetHeight - _this2.paginationHeight;
|
|
40205
|
-
console.warn("this.table.$el.offsetHeight: ".concat(_this2.table.$el.offsetHeight, " --- this.paginationHeight: ").concat(_this2.paginationHeight, " --- tableHeight: ").concat(tableHeight));
|
|
40206
40203
|
var footerHeight = _this2.footerHeight = footerWrapper ? footerWrapper.offsetHeight : 0;
|
|
40207
40204
|
_this2.bodyHeight = tableHeight - headerHeight - footerHeight + (footerWrapper ? 1 : 0);
|
|
40208
40205
|
_this2.fixedBodyHeight = _this2.scrollX ? _this2.bodyHeight - _this2.gutterWidth : _this2.bodyHeight;
|
|
@@ -49117,7 +49114,6 @@
|
|
|
49117
49114
|
},
|
|
49118
49115
|
methods: {
|
|
49119
49116
|
calcSize: function calcSize() {
|
|
49120
|
-
console.log(this);
|
|
49121
49117
|
var swiperSize = getElementSize(this.$refs.swiper);
|
|
49122
49118
|
var swiperParentSize = getElementSize(this.$refs.swiper && this.$refs.swiper.parentElement);
|
|
49123
49119
|
this.realWidth = +this.width > 0 ? this.width : swiperSize.width > 0 ? swiperSize.width : swiperParentSize.width;
|