vxe-table 3.13.30 → 3.13.31

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.30";
3204
+ const version = "3.13.31";
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.30"}`;
3831
+ const log_version = `table v${"3.13.31"}`;
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
@@ -6117,6 +6117,7 @@ const {
6117
6117
  interceptor: methods_interceptor,
6118
6118
  createEvent
6119
6119
  } = core_.VxeUI;
6120
+ const supportMaxRow = 3e5;
6120
6121
  const customStorageKey = 'VXE_CUSTOM_STORE';
6121
6122
  function eqCellValue(row1, row2, field) {
6122
6123
  const val1 = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row1, field);
@@ -8781,6 +8782,9 @@ const Methods = {
8781
8782
  const childrenField = treeOpts.children || treeOpts.childrenField;
8782
8783
  let treeData = [];
8783
8784
  let fullData = datas ? datas.slice(0) : [];
8785
+ if (fullData.length > supportMaxRow) {
8786
+ errLog('vxe.error.errMaxRow', [supportMaxRow]);
8787
+ }
8784
8788
  if (treeConfig) {
8785
8789
  // 树结构自动转换
8786
8790
  if (treeOpts.transform) {