vxe-table 4.11.0-beta.10 → 4.11.0-beta.11

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
@@ -3138,7 +3138,7 @@ function eqEmptyValue(cellValue) {
3138
3138
  ;// ./packages/ui/index.ts
3139
3139
 
3140
3140
 
3141
- const version = "4.11.0-beta.10";
3141
+ const version = "4.11.0-beta.11";
3142
3142
  core_.VxeUI.version = version;
3143
3143
  core_.VxeUI.tableVersion = version;
3144
3144
  core_.VxeUI.setConfig({
@@ -3586,7 +3586,7 @@ var esnext_iterator_some = __webpack_require__(7550);
3586
3586
  const {
3587
3587
  log: log_log
3588
3588
  } = core_.VxeUI;
3589
- const log_version = `table v${"4.11.0-beta.10"}`;
3589
+ const log_version = `table v${"4.11.0-beta.11"}`;
3590
3590
  const warnLog = log_log.create('warn', log_version);
3591
3591
  const errLog = log_log.create('error', log_version);
3592
3592
  ;// ./packages/table/src/columnInfo.ts
@@ -11975,6 +11975,9 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
11975
11975
  };
11976
11976
  };
11977
11977
  const updateAfterListIndex = () => {
11978
+ const {
11979
+ treeConfig
11980
+ } = props;
11978
11981
  const {
11979
11982
  afterFullData,
11980
11983
  fullDataRowIdData,
@@ -11986,7 +11989,9 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
11986
11989
  const rowRest = fullAllDataRowIdData[rowid];
11987
11990
  const seq = index + 1;
11988
11991
  if (rowRest) {
11989
- rowRest.seq = seq;
11992
+ if (!treeConfig) {
11993
+ rowRest.seq = seq;
11994
+ }
11990
11995
  rowRest._index = index;
11991
11996
  } else {
11992
11997
  const rest = {
@@ -16236,8 +16241,8 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
16236
16241
  toggleMethod
16237
16242
  } = expandOpts;
16238
16243
  const lazyRests = [];
16239
- const columnIndex = tableMethods.getColumnIndex(expandColumn);
16240
- const $columnIndex = tableMethods.getVMColumnIndex(expandColumn);
16244
+ const columnIndex = $xeTable.getColumnIndex(expandColumn);
16245
+ const $columnIndex = $xeTable.getVMColumnIndex(expandColumn);
16241
16246
  if (rows) {
16242
16247
  if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(rows)) {
16243
16248
  rows = [rows];
@@ -18639,7 +18644,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
18639
18644
  const isSelected = sLen >= vLen;
18640
18645
  const halfSelect = !isSelected && (sLen >= 1 || hLen >= 1);
18641
18646
  if (checkField) {
18642
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, checkField, isSelected);
18647
+ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().set(row, checkField, isSelected);
18643
18648
  }
18644
18649
  if (isSelected) {
18645
18650
  if (!checkField) {