vxe-table 3.6.12-beta.9 → 3.6.13-beta.0

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/lib/index.umd.js CHANGED
@@ -11033,7 +11033,7 @@ var es_array_concat = __webpack_require__(2222);
11033
11033
 
11034
11034
 
11035
11035
  function getLog(message, params) {
11036
- return "[vxe-table v".concat("3.6.12-beta.9", "] ").concat(conf.i18n(message, params));
11036
+ return "[vxe-table v".concat("3.6.12", "] ").concat(conf.i18n(message, params));
11037
11037
  }
11038
11038
  function outLog(type) {
11039
11039
  return function (message, params) {
@@ -12220,7 +12220,7 @@ function _t(key, args) {
12220
12220
  var v = 'v3';
12221
12221
  var VXETable = {
12222
12222
  v: v,
12223
- version: "3.6.12-beta.9",
12223
+ version: "3.6.12",
12224
12224
  reg: reg,
12225
12225
  use: use,
12226
12226
  setup: setup,
@@ -16994,17 +16994,24 @@ var Methods = {
16994
16994
  var column = handleFieldOrColumn(this, fieldOrColumn);
16995
16995
  if (column) {
16996
16996
  var colWidth = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toInteger(width);
16997
+ var rdWidth = colWidth;
16997
16998
  if (dom.isScale(width)) {
16998
16999
  var tableBody = this.$refs.tableBody;
16999
17000
  var tableBodyElem = tableBody ? tableBody.$el : null;
17000
17001
  var bodyWidth = tableBodyElem ? tableBodyElem.clientWidth - 1 : 0;
17001
- column.renderWidth = Math.floor(colWidth * bodyWidth);
17002
- } else {
17003
- column.renderWidth = colWidth;
17002
+ rdWidth = Math.floor(colWidth * bodyWidth);
17004
17003
  }
17004
+ column.renderWidth = rdWidth;
17005
17005
  }
17006
17006
  return this.$nextTick();
17007
17007
  },
17008
+ getColumnWidth: function getColumnWidth(fieldOrColumn) {
17009
+ var column = handleFieldOrColumn(this, fieldOrColumn);
17010
+ if (column) {
17011
+ return column.renderWidth;
17012
+ }
17013
+ return 0;
17014
+ },
17008
17015
  /**
17009
17016
  * 手动重置列的显示隐藏、列宽拖动的状态;
17010
17017
  * 如果为 true 则重置所有状态
@@ -31805,7 +31812,7 @@ function getCheckboxRangeRows(_vm, params, targetTrElem, moveRange) {
31805
31812
  });
31806
31813
  } else {
31807
31814
  _this4.setAllCheckboxRow(false);
31808
- _this4.setCheckboxRow(rangeRows, true);
31815
+ _this4.handleCheckedCheckboxRow(rangeRows, true, false);
31809
31816
  }
31810
31817
  triggerEvent('change', evnt);
31811
31818
  }