vxe-table 3.16.8 → 3.16.9

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.
@@ -3088,7 +3088,7 @@ function parseColumns($xeTable, isReset) {
3088
3088
  if (parentColumn && parentColumn.fixed) {
3089
3089
  column.fixed = parentColumn.fixed;
3090
3090
  }
3091
- if (parentColumn && column.fixed !== parentColumn.fixed) {
3091
+ if (parentColumn && (column.fixed || '') !== (parentColumn.fixed || '')) {
3092
3092
  errLog('vxe.error.groupFixed');
3093
3093
  }
3094
3094
  if (isColGroup) {
package/es/ui/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  import { getFuncText } from './src/utils';
3
- export const version = "3.16.8";
3
+ export const version = "3.16.9";
4
4
  VxeUI.version = version;
5
5
  VxeUI.tableVersion = version;
6
6
  VxeUI.setConfig({
package/es/ui/src/log.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  const { log } = VxeUI;
3
- const version = `table v${"3.16.8"}`;
3
+ const version = `table v${"3.16.9"}`;
4
4
  export const warnLog = log.create('warn', version);
5
5
  export const errLog = log.create('error', version);
package/lib/index.umd.js CHANGED
@@ -3234,7 +3234,7 @@ function getClass(property, params) {
3234
3234
  ;// ./packages/ui/index.ts
3235
3235
 
3236
3236
 
3237
- const version = "3.16.8";
3237
+ const version = "3.16.9";
3238
3238
  core_.VxeUI.version = version;
3239
3239
  core_.VxeUI.tableVersion = version;
3240
3240
  core_.VxeUI.setConfig({
@@ -3908,7 +3908,7 @@ var es_iterator_map = __webpack_require__(1701);
3908
3908
  const {
3909
3909
  log: log_log
3910
3910
  } = core_.VxeUI;
3911
- const log_version = `table v${"3.16.8"}`;
3911
+ const log_version = `table v${"3.16.9"}`;
3912
3912
  const warnLog = log_log.create('warn', log_version);
3913
3913
  const errLog = log_log.create('error', log_version);
3914
3914
  ;// ./packages/table/src/columnInfo.ts
@@ -10174,7 +10174,7 @@ function parseColumns($xeTable, isReset) {
10174
10174
  if (parentColumn && parentColumn.fixed) {
10175
10175
  column.fixed = parentColumn.fixed;
10176
10176
  }
10177
- if (parentColumn && column.fixed !== parentColumn.fixed) {
10177
+ if (parentColumn && (column.fixed || '') !== (parentColumn.fixed || '')) {
10178
10178
  errLog('vxe.error.groupFixed');
10179
10179
  }
10180
10180
  if (isColGroup) {
@@ -28901,7 +28901,7 @@ function emitCustomEvent($xeTable, type, evnt) {
28901
28901
  });
28902
28902
  reactData.isCustomStatus = true;
28903
28903
  return $xeTable.saveCustomStore('confirm').then(() => {
28904
- if (allowGroup && allowValues && $xeTable.handlePivotTableAggregateData) {
28904
+ if (allowGroup && !!$xeTable.handlePivotTableAggregateData) {
28905
28905
  if (rowGroupList.length !== aggHandleFields.length || rowGroupList.some((conf, i) => conf.field !== aggHandleFields[i])) {
28906
28906
  // 更新数据分组
28907
28907
  if (aggHandleFields.length) {
@@ -28909,7 +28909,7 @@ function emitCustomEvent($xeTable, type, evnt) {
28909
28909
  } else {
28910
28910
  $xeTable.clearRowGroups();
28911
28911
  }
28912
- } else {
28912
+ } else if (allowValues) {
28913
28913
  // 更新聚合函数
28914
28914
  $xeTable.handleUpdateAggData();
28915
28915
  }