vxe-table 4.11.26 → 4.11.27

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
@@ -3051,7 +3051,7 @@ function eqEmptyValue(cellValue) {
3051
3051
  ;// ./packages/ui/index.ts
3052
3052
 
3053
3053
 
3054
- const version = "4.11.26";
3054
+ const version = "4.11.27";
3055
3055
  core_.VxeUI.version = version;
3056
3056
  core_.VxeUI.tableVersion = version;
3057
3057
  core_.VxeUI.setConfig({
@@ -3499,7 +3499,7 @@ var es_iterator_some = __webpack_require__(3579);
3499
3499
  const {
3500
3500
  log: log_log
3501
3501
  } = core_.VxeUI;
3502
- const log_version = `table v${"4.11.26"}`;
3502
+ const log_version = `table v${"4.11.27"}`;
3503
3503
  const warnLog = log_log.create('warn', log_version);
3504
3504
  const errLog = log_log.create('error', log_version);
3505
3505
  ;// ./packages/table/src/columnInfo.ts
@@ -18690,12 +18690,25 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
18690
18690
  }
18691
18691
  }
18692
18692
  // 兼容老版本
18693
- let rest;
18694
- if (!evntList.some(func => func(Object.assign({
18695
- $grid: $xeGrid,
18696
- $table: $xeTable,
18697
- $event: evnt
18698
- }, args)) === false)) {
18693
+ let rest = null;
18694
+ let isStop = false;
18695
+ for (let i = 0; i < evntList.length; i++) {
18696
+ const func = evntList[i];
18697
+ const fnRest = func(Object.assign({
18698
+ $grid: $xeGrid,
18699
+ $table: $xeTable,
18700
+ $event: evnt
18701
+ }, args));
18702
+ if (fnRest === false) {
18703
+ isStop = true;
18704
+ break;
18705
+ } else if (fnRest && fnRest.status === false) {
18706
+ rest = fnRest.result;
18707
+ isStop = true;
18708
+ break;
18709
+ }
18710
+ }
18711
+ if (!isStop) {
18699
18712
  if (next) {
18700
18713
  rest = next();
18701
18714
  }