vxe-table 3.13.29 → 3.13.30

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
@@ -3201,7 +3201,7 @@ function getClass(property, params) {
3201
3201
  ;// ./packages/ui/index.ts
3202
3202
 
3203
3203
 
3204
- const version = "3.13.29";
3204
+ const version = "3.13.30";
3205
3205
  core_.VxeUI.version = version;
3206
3206
  core_.VxeUI.tableVersion = version;
3207
3207
  core_.VxeUI.setConfig({
@@ -3828,7 +3828,7 @@ var es_iterator_map = __webpack_require__(1701);
3828
3828
  const {
3829
3829
  log: log_log
3830
3830
  } = core_.VxeUI;
3831
- const log_version = `table v${"3.13.29"}`;
3831
+ const log_version = `table v${"3.13.30"}`;
3832
3832
  const warnLog = log_log.create('warn', log_version);
3833
3833
  const errLog = log_log.create('error', log_version);
3834
3834
  ;// ./packages/table/src/columnInfo.ts
@@ -11541,12 +11541,25 @@ const Methods = {
11541
11541
  }
11542
11542
  }
11543
11543
  // 兼容老版本
11544
- let rest;
11545
- if (!evntList.some(func => func(Object.assign({
11546
- $grid: this.$xegrid,
11547
- $table: this,
11548
- $event: evnt
11549
- }, args)) === false)) {
11544
+ let rest = null;
11545
+ let isStop = false;
11546
+ for (let i = 0; i < evntList.length; i++) {
11547
+ const func = evntList[i];
11548
+ const fnRest = func(Object.assign({
11549
+ $grid: this.$xegrid,
11550
+ $table: this,
11551
+ $event: evnt
11552
+ }, args));
11553
+ if (fnRest === false) {
11554
+ isStop = true;
11555
+ break;
11556
+ } else if (fnRest && fnRest.status === false) {
11557
+ rest = fnRest.result;
11558
+ isStop = true;
11559
+ break;
11560
+ }
11561
+ }
11562
+ if (!isStop) {
11550
11563
  if (next) {
11551
11564
  rest = next();
11552
11565
  }