vxe-table 4.15.3 → 4.15.4

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.
@@ -28,6 +28,11 @@ const gridComponentEmits = [
28
28
  'toolbar-tool-click',
29
29
  'zoom'
30
30
  ];
31
+ function createInternalData() {
32
+ return {
33
+ connectTable: null
34
+ };
35
+ }
31
36
  export default defineVxeComponent({
32
37
  name: 'VxeGrid',
33
38
  props: Object.assign(Object.assign({}, tableComponentProps), { layouts: Array, columns: Array, pagerConfig: Object, proxyConfig: Object, toolbarConfig: Object, formConfig: Object, zoomConfig: Object, size: {
@@ -59,6 +64,7 @@ export default defineVxeComponent({
59
64
  currentPage: 1
60
65
  }
61
66
  });
67
+ const internalData = createInternalData();
62
68
  const refElem = ref();
63
69
  const refTable = ref();
64
70
  const refForm = ref();
@@ -235,6 +241,7 @@ export default defineVxeComponent({
235
241
  props: props,
236
242
  context,
237
243
  reactData,
244
+ internalData,
238
245
  getRefMaps: () => refMaps,
239
246
  getComputeMaps: () => computeMaps
240
247
  };
@@ -1478,6 +1485,7 @@ export default defineVxeComponent({
1478
1485
  });
1479
1486
  onUnmounted(() => {
1480
1487
  globalEvents.off($xeGrid, 'keydown');
1488
+ XEUtils.assign(internalData, createInternalData());
1481
1489
  });
1482
1490
  $xeGrid.renderVN = renderVN;
1483
1491
  provide('$xeGrid', $xeGrid);