vxe-table 3.7.6 → 3.7.7-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
@@ -10591,7 +10591,7 @@ var es_array_concat = __webpack_require__(2222);
10591
10591
 
10592
10592
 
10593
10593
  function getLog(message, params) {
10594
- return "[vxe-table v".concat("3.7.6", "] ").concat(conf.i18n(message, params));
10594
+ return "[vxe-table v".concat("3.7.7-beta.0", "] ").concat(conf.i18n(message, params));
10595
10595
  }
10596
10596
  function outLog(type) {
10597
10597
  return function (message, params) {
@@ -12023,7 +12023,7 @@ var setup = config;
12023
12023
  var globalStore = {};
12024
12024
  var VXETable = {
12025
12025
  v: v,
12026
- version: "3.7.6",
12026
+ version: "3.7.7-beta.0",
12027
12027
  reg: reg,
12028
12028
  use: use,
12029
12029
  setup: setup,
@@ -19751,7 +19751,7 @@ var Methods = {
19751
19751
  sortTime: column.sortTime
19752
19752
  };
19753
19753
  if (this.mouseConfig && this.mouseOpts.area && this.handleSortEvent) {
19754
- return this.handleSortEvent(evnt, params);
19754
+ this.handleSortEvent(evnt, params);
19755
19755
  }
19756
19756
  this.emitEvent('sort-change', params, evnt);
19757
19757
  }
@@ -23765,7 +23765,7 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
23765
23765
  }
23766
23766
  // 如果是插入指定行的下一行
23767
23767
  if (isInsertNextRow) {
23768
- afIndex = Math.max(afterFullData.length, afIndex + 1);
23768
+ afIndex = Math.min(afterFullData.length, afIndex + 1);
23769
23769
  }
23770
23770
  if (afIndex === -1) {
23771
23771
  throw new Error(errLog('vxe.error.unableInsert'));