vxe-table 3.5.3-beta.0 → 3.5.4

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
@@ -8756,7 +8756,7 @@ var es_array_concat = __webpack_require__("99af");
8756
8756
 
8757
8757
 
8758
8758
  function getLog(message, params) {
8759
- return "[vxe-table v".concat("3.5.3", "] ").concat(conf.i18n(message, params));
8759
+ return "[vxe-table v".concat("3.5.4", "] ").concat(conf.i18n(message, params));
8760
8760
  }
8761
8761
 
8762
8762
  function outLog(type) {
@@ -10025,7 +10025,7 @@ function _t(key, args) {
10025
10025
  var v = 'v3';
10026
10026
  var VXETable = {
10027
10027
  v: v,
10028
- version: "3.5.3",
10028
+ version: "3.5.4",
10029
10029
  reg: reg,
10030
10030
  use: use,
10031
10031
  setup: setup,
@@ -22155,7 +22155,11 @@ function insertTreeRow(_vm, newRecords, isAppend) {
22155
22155
  }
22156
22156
 
22157
22157
  this.closeTooltip();
22158
- this.clearActived(evnt);
22158
+
22159
+ if (actived.column) {
22160
+ this.clearActived(evnt);
22161
+ }
22162
+
22159
22163
  type = 'edit-actived';
22160
22164
  column.renderHeight = cell.offsetHeight;
22161
22165
  actived.args = params;
@@ -22281,7 +22285,7 @@ function insertTreeRow(_vm, newRecords, isAppend) {
22281
22285
  }, evnt);
22282
22286
  }
22283
22287
 
22284
- return (v_x_e_table._valid ? this.clearValidate() : this.$nextTick()).then(this.recalculate);
22288
+ return v_x_e_table._valid ? this.clearValidate() : this.$nextTick();
22285
22289
  },
22286
22290
  _getActiveRecord: function _getActiveRecord() {
22287
22291
  var $el = this.$el,
@@ -32806,7 +32810,7 @@ Object.keys(packages_table.methods).forEach(function (name) {
32806
32810
  if (rest) {
32807
32811
  if (isEnableConf(pagerConfig)) {
32808
32812
  var total = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.get(rest, proxyProps.total || 'page.total') || 0;
32809
- tablePage.total = total;
32813
+ tablePage.total = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.toNumber(total);
32810
32814
  _this5.tableData = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default.a.get(rest, proxyProps.result || 'result') || []; // 检验当前页码,不能超出当前最大页数
32811
32815
 
32812
32816
  var pageCount = Math.max(Math.ceil(total / tablePage.pageSize), 1);