vxe-table 3.12.0-beta.6 → 3.12.0-beta.8

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.
@@ -66,9 +66,10 @@ function handleReserveRow(_vm, reserveRowMap) {
66
66
  });
67
67
  return reserveList;
68
68
  }
69
- function handleVirtualXVisible(_vm) {
70
- const { $refs, visibleColumn } = _vm;
71
- const { tableBody } = $refs;
69
+ function handleVirtualXVisible($xeTable) {
70
+ const internalData = $xeTable;
71
+ const { visibleColumn } = internalData;
72
+ const tableBody = $xeTable.$refs.tableBody;
72
73
  const tableBodyElem = tableBody ? tableBody.$el : null;
73
74
  if (tableBodyElem) {
74
75
  const { scrollLeft, clientWidth } = tableBodyElem;
@@ -99,8 +100,8 @@ const computeRowHeight = ($xeTable) => {
99
100
  const tableBody = $xeTable.$refs.tableBody;
100
101
  const tableBodyElem = tableBody ? tableBody.$el : null;
101
102
  const vSize = $xeTable.computeSize;
102
- const rowHeightMaps = $xeTable.rowHeightMaps;
103
- let rowHeight = 0;
103
+ const rowHeightMaps = $xeTable.computeRowHeightMaps;
104
+ let rowHeight = 24;
104
105
  if (showOverflow) {
105
106
  if (tableBodyElem) {
106
107
  const tableHeaderElem = tableHeader ? tableHeader.$el : null;
@@ -120,8 +121,9 @@ const computeRowHeight = ($xeTable) => {
120
121
  return rowHeight;
121
122
  };
122
123
  function handleVirtualYVisible($xeTable) {
123
- const { $refs, scrollYStore, afterFullData, fullAllDataRowIdData } = $xeTable;
124
- const tableBody = $refs.tableBody;
124
+ const internalData = $xeTable;
125
+ const { scrollYStore, afterFullData, fullAllDataRowIdData } = internalData;
126
+ const tableBody = $xeTable.$refs.tableBody;
125
127
  const tableBodyElem = tableBody ? tableBody.$el : null;
126
128
  const { rowHeight } = scrollYStore;
127
129
  if (tableBodyElem) {
@@ -133,11 +135,11 @@ function handleVirtualYVisible($xeTable) {
133
135
  for (let rIndex = 0, rLen = afterFullData.length; rIndex < rLen; rIndex++) {
134
136
  const row = afterFullData[rIndex];
135
137
  const rowid = getRowid($xeTable, row);
136
- const rest = fullAllDataRowIdData[rowid];
137
- if (!rest) {
138
+ const rowRest = fullAllDataRowIdData[rowid];
139
+ if (!rowRest) {
138
140
  break;
139
141
  }
140
- offsetTop += rest.height || rowHeight;
142
+ offsetTop += rowRest.height || rowHeight;
141
143
  if (toVisibleIndex === -1 && scrollTop < offsetTop) {
142
144
  toVisibleIndex = rIndex;
143
145
  }
@@ -735,7 +737,6 @@ const Methods = {
735
737
  editStore.removeList = [];
736
738
  editStore.removeMaps = {};
737
739
  const sYLoad = this.updateScrollYStatus(fullData);
738
- this.scrollYLoad = sYLoad;
739
740
  this.isDragRowMove = false;
740
741
  // 全量数据
741
742
  this.tableFullData = fullData;
@@ -5473,6 +5474,14 @@ const Methods = {
5473
5474
  evnt.dataTransfer.setDragImage(getTpImg(), 0, 0);
5474
5475
  }
5475
5476
  },
5477
+ handleColDragSwapColumn() {
5478
+ const $xeTable = this;
5479
+ $xeTable.handleUpdateColumn();
5480
+ $xeTable.parseColumns(false).then(() => {
5481
+ $xeTable.updateCellAreas();
5482
+ $xeTable.saveCustomStore('update:sort');
5483
+ });
5484
+ },
5476
5485
  handleColDragSwapEvent(evnt, isSyncColumn, dragCol, prevDragCol, prevDragPos, prevDragToChild) {
5477
5486
  const $xeTable = this;
5478
5487
  const props = $xeTable;
@@ -5616,11 +5625,7 @@ const Methods = {
5616
5625
  }
5617
5626
  }, evnt);
5618
5627
  if (isSyncColumn) {
5619
- $xeTable.handleUpdateColumn();
5620
- $xeTable.parseColumns(false).then(() => {
5621
- $xeTable.updateCellAreas();
5622
- return $xeTable.saveCustomStore('update:sort');
5623
- });
5628
+ $xeTable.handleColDragSwapColumn();
5624
5629
  }
5625
5630
  }).catch(() => {
5626
5631
  });
@@ -6811,12 +6816,14 @@ const Methods = {
6811
6816
  scrollXEvent(evnt) {
6812
6817
  const $xeTable = this;
6813
6818
  const internalData = $xeTable;
6814
- const { inFooterScroll, inBodyScroll, lastScrollTop } = internalData;
6815
- if (inFooterScroll) {
6816
- return;
6817
- }
6818
- if (inBodyScroll) {
6819
- return;
6819
+ const { intoRunScroll, inFooterScroll, inBodyScroll, lastScrollTop } = internalData;
6820
+ if (!intoRunScroll) {
6821
+ if (inFooterScroll) {
6822
+ return;
6823
+ }
6824
+ if (inBodyScroll) {
6825
+ return;
6826
+ }
6820
6827
  }
6821
6828
  const tableHeader = $xeTable.$refs.tableHeader;
6822
6829
  const tableBody = $xeTable.$refs.tableBody;
@@ -6847,12 +6854,14 @@ const Methods = {
6847
6854
  scrollYEvent(evnt) {
6848
6855
  const $xeTable = this;
6849
6856
  const internalData = $xeTable;
6850
- const { inFooterScroll, inBodyScroll, lastScrollLeft } = internalData;
6851
- if (inFooterScroll) {
6852
- return;
6853
- }
6854
- if (inBodyScroll) {
6855
- return;
6857
+ const { intoRunScroll, inFooterScroll, inBodyScroll, lastScrollLeft } = internalData;
6858
+ if (!intoRunScroll) {
6859
+ if (inFooterScroll) {
6860
+ return;
6861
+ }
6862
+ if (inBodyScroll) {
6863
+ return;
6864
+ }
6856
6865
  }
6857
6866
  const tableBody = $xeTable.$refs.tableBody;
6858
6867
  const leftBody = $xeTable.$refs.leftBody;
@@ -6969,7 +6978,6 @@ const Methods = {
6969
6978
  const $xeTable = this;
6970
6979
  const props = $xeTable;
6971
6980
  const { showOverflow } = props;
6972
- // this.tableColumn = []
6973
6981
  return $xeTable.$nextTick().then(() => {
6974
6982
  $xeTable.handleTableColumn();
6975
6983
  calcCellHeight($xeTable);
@@ -7022,7 +7030,6 @@ const Methods = {
7022
7030
  },
7023
7031
  updateScrollYData() {
7024
7032
  const $xeTable = this;
7025
- // this.tableData = []
7026
7033
  return $xeTable.$nextTick().then(() => {
7027
7034
  $xeTable.handleTableData();
7028
7035
  calcCellHeight($xeTable);
@@ -7091,6 +7098,7 @@ const Methods = {
7091
7098
  */
7092
7099
  scrollTo(scrollLeft, scrollTop) {
7093
7100
  const $xeTable = this;
7101
+ const internalData = $xeTable;
7094
7102
  const { $refs } = this;
7095
7103
  const { tableBody, tableHeader, leftBody, rightBody, tableFooter } = $refs;
7096
7104
  const tableBodyElem = tableBody ? tableBody.$el : null;
@@ -7098,6 +7106,7 @@ const Methods = {
7098
7106
  const rightBodyElem = rightBody ? rightBody.$el : null;
7099
7107
  const tableHeaderElem = tableHeader ? tableHeader.$el : null;
7100
7108
  const tableFooterElem = tableFooter ? tableFooter.$el : null;
7109
+ internalData.intoRunScroll = true;
7101
7110
  if (XEUtils.isNumber(scrollLeft)) {
7102
7111
  const xHandleEl = $xeTable.$refs.refScrollXHandleElem;
7103
7112
  if (xHandleEl) {
@@ -7121,7 +7130,14 @@ const Methods = {
7121
7130
  }
7122
7131
  }
7123
7132
  if (this.scrollXLoad || this.scrollYLoad) {
7124
- return new Promise(resolve => setTimeout(() => resolve(this.$nextTick()), 30));
7133
+ return new Promise(resolve => {
7134
+ setTimeout(() => {
7135
+ $xeTable.$nextTick(() => {
7136
+ internalData.intoRunScroll = false;
7137
+ resolve();
7138
+ });
7139
+ });
7140
+ });
7125
7141
  }
7126
7142
  return this.$nextTick();
7127
7143
  },
@@ -7181,10 +7197,15 @@ const Methods = {
7181
7197
  */
7182
7198
  clearScroll() {
7183
7199
  const $xeTable = this;
7184
- const { $refs, scrollXStore, scrollYStore } = $xeTable;
7185
- const { tableBody, tableHeader, leftBody, rightBody, tableFooter } = $refs;
7186
- const tableBodyElem = tableBody ? tableBody.$el : null;
7200
+ const internalData = $xeTable;
7201
+ const { scrollXStore, scrollYStore } = internalData;
7202
+ const tableBody = $xeTable.$refs.tableBody;
7203
+ const tableHeader = $xeTable.$refs.tableHeader;
7204
+ const tableFooter = $xeTable.$refs.tableFooter;
7205
+ const leftBody = $xeTable.$refs.leftBody;
7206
+ const rightBody = $xeTable.$refs.rightBody;
7187
7207
  const leftBodyElem = leftBody ? leftBody.$el : null;
7208
+ const tableBodyElem = tableBody ? tableBody.$el : null;
7188
7209
  const rightBodyElem = rightBody ? rightBody.$el : null;
7189
7210
  const tableHeaderElem = tableHeader ? tableHeader.$el : null;
7190
7211
  const tableFooterElem = tableFooter ? tableFooter.$el : null;
@@ -66,14 +66,19 @@ const lineOffsetSizes = {
66
66
  small: 2,
67
67
  medium: 1
68
68
  };
69
- export function restoreScrollLocation(_vm, scrollLeft, scrollTop) {
70
- return _vm.clearScroll().then(() => {
69
+ export function restoreScrollLocation($xeTable, scrollLeft, scrollTop) {
70
+ const internalData = $xeTable;
71
+ return $xeTable.clearScroll().then(() => {
71
72
  if (scrollLeft || scrollTop) {
72
73
  // 重置最后滚动状态
73
- _vm.lastScrollLeft = 0;
74
- _vm.lastScrollTop = 0;
74
+ internalData.lastScrollLeft = 0;
75
+ internalData.lastScrollTop = 0;
76
+ internalData.inVirtualScroll = false;
77
+ internalData.inBodyScroll = false;
78
+ internalData.inFooterScroll = false;
79
+ internalData.bodyScrollType = '';
75
80
  // 还原滚动状态
76
- return _vm.scrollTo(scrollLeft, scrollTop);
81
+ return $xeTable.scrollTo(scrollLeft, scrollTop);
77
82
  }
78
83
  });
79
84
  }
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.12.0-beta.6";
3
+ export const version = "3.12.0-beta.8";
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.12.0-beta.6"}`;
3
+ const version = `table v${"3.12.0-beta.8"}`;
4
4
  export const warnLog = log.create('warn', version);
5
5
  export const errLog = log.create('error', version);
package/lib/index.umd.js CHANGED
@@ -2220,7 +2220,7 @@ function getClass(property, params) {
2220
2220
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
2221
2221
 
2222
2222
 
2223
- const version = "3.12.0-beta.6";
2223
+ const version = "3.12.0-beta.8";
2224
2224
  core_.VxeUI.version = version;
2225
2225
  core_.VxeUI.tableVersion = version;
2226
2226
  core_.VxeUI.setConfig({
@@ -2808,7 +2808,7 @@ function isNodeElement(elem) {
2808
2808
  const {
2809
2809
  log: log_log
2810
2810
  } = core_.VxeUI;
2811
- const log_version = `table v${"3.12.0-beta.6"}`;
2811
+ const log_version = `table v${"3.12.0-beta.8"}`;
2812
2812
  const warnLog = log_log.create('warn', log_version);
2813
2813
  const errLog = log_log.create('error', log_version);
2814
2814
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -3054,14 +3054,19 @@ const lineOffsetSizes = {
3054
3054
  small: 2,
3055
3055
  medium: 1
3056
3056
  };
3057
- function restoreScrollLocation(_vm, scrollLeft, scrollTop) {
3058
- return _vm.clearScroll().then(() => {
3057
+ function restoreScrollLocation($xeTable, scrollLeft, scrollTop) {
3058
+ const internalData = $xeTable;
3059
+ return $xeTable.clearScroll().then(() => {
3059
3060
  if (scrollLeft || scrollTop) {
3060
3061
  // 重置最后滚动状态
3061
- _vm.lastScrollLeft = 0;
3062
- _vm.lastScrollTop = 0;
3062
+ internalData.lastScrollLeft = 0;
3063
+ internalData.lastScrollTop = 0;
3064
+ internalData.inVirtualScroll = false;
3065
+ internalData.inBodyScroll = false;
3066
+ internalData.inFooterScroll = false;
3067
+ internalData.bodyScrollType = '';
3063
3068
  // 还原滚动状态
3064
- return _vm.scrollTo(scrollLeft, scrollTop);
3069
+ return $xeTable.scrollTo(scrollLeft, scrollTop);
3065
3070
  }
3066
3071
  });
3067
3072
  }
@@ -4996,14 +5001,12 @@ function handleReserveRow(_vm, reserveRowMap) {
4996
5001
  });
4997
5002
  return reserveList;
4998
5003
  }
4999
- function handleVirtualXVisible(_vm) {
5004
+ function handleVirtualXVisible($xeTable) {
5005
+ const internalData = $xeTable;
5000
5006
  const {
5001
- $refs,
5002
5007
  visibleColumn
5003
- } = _vm;
5004
- const {
5005
- tableBody
5006
- } = $refs;
5008
+ } = internalData;
5009
+ const tableBody = $xeTable.$refs.tableBody;
5007
5010
  const tableBodyElem = tableBody ? tableBody.$el : null;
5008
5011
  if (tableBodyElem) {
5009
5012
  const {
@@ -5045,8 +5048,8 @@ const computeRowHeight = $xeTable => {
5045
5048
  const tableBody = $xeTable.$refs.tableBody;
5046
5049
  const tableBodyElem = tableBody ? tableBody.$el : null;
5047
5050
  const vSize = $xeTable.computeSize;
5048
- const rowHeightMaps = $xeTable.rowHeightMaps;
5049
- let rowHeight = 0;
5051
+ const rowHeightMaps = $xeTable.computeRowHeightMaps;
5052
+ let rowHeight = 24;
5050
5053
  if (showOverflow) {
5051
5054
  if (tableBodyElem) {
5052
5055
  const tableHeaderElem = tableHeader ? tableHeader.$el : null;
@@ -5066,13 +5069,13 @@ const computeRowHeight = $xeTable => {
5066
5069
  return rowHeight;
5067
5070
  };
5068
5071
  function handleVirtualYVisible($xeTable) {
5072
+ const internalData = $xeTable;
5069
5073
  const {
5070
- $refs,
5071
5074
  scrollYStore,
5072
5075
  afterFullData,
5073
5076
  fullAllDataRowIdData
5074
- } = $xeTable;
5075
- const tableBody = $refs.tableBody;
5077
+ } = internalData;
5078
+ const tableBody = $xeTable.$refs.tableBody;
5076
5079
  const tableBodyElem = tableBody ? tableBody.$el : null;
5077
5080
  const {
5078
5081
  rowHeight
@@ -5089,11 +5092,11 @@ function handleVirtualYVisible($xeTable) {
5089
5092
  for (let rIndex = 0, rLen = afterFullData.length; rIndex < rLen; rIndex++) {
5090
5093
  const row = afterFullData[rIndex];
5091
5094
  const rowid = getRowid($xeTable, row);
5092
- const rest = fullAllDataRowIdData[rowid];
5093
- if (!rest) {
5095
+ const rowRest = fullAllDataRowIdData[rowid];
5096
+ if (!rowRest) {
5094
5097
  break;
5095
5098
  }
5096
- offsetTop += rest.height || rowHeight;
5099
+ offsetTop += rowRest.height || rowHeight;
5097
5100
  if (toVisibleIndex === -1 && scrollTop < offsetTop) {
5098
5101
  toVisibleIndex = rIndex;
5099
5102
  }
@@ -5780,7 +5783,6 @@ const Methods = {
5780
5783
  editStore.removeList = [];
5781
5784
  editStore.removeMaps = {};
5782
5785
  const sYLoad = this.updateScrollYStatus(fullData);
5783
- this.scrollYLoad = sYLoad;
5784
5786
  this.isDragRowMove = false;
5785
5787
  // 全量数据
5786
5788
  this.tableFullData = fullData;
@@ -11376,6 +11378,14 @@ const Methods = {
11376
11378
  evnt.dataTransfer.setDragImage(getTpImg(), 0, 0);
11377
11379
  }
11378
11380
  },
11381
+ handleColDragSwapColumn() {
11382
+ const $xeTable = this;
11383
+ $xeTable.handleUpdateColumn();
11384
+ $xeTable.parseColumns(false).then(() => {
11385
+ $xeTable.updateCellAreas();
11386
+ $xeTable.saveCustomStore('update:sort');
11387
+ });
11388
+ },
11379
11389
  handleColDragSwapEvent(evnt, isSyncColumn, dragCol, prevDragCol, prevDragPos, prevDragToChild) {
11380
11390
  const $xeTable = this;
11381
11391
  const props = $xeTable;
@@ -11532,11 +11542,7 @@ const Methods = {
11532
11542
  }
11533
11543
  }, evnt);
11534
11544
  if (isSyncColumn) {
11535
- $xeTable.handleUpdateColumn();
11536
- $xeTable.parseColumns(false).then(() => {
11537
- $xeTable.updateCellAreas();
11538
- return $xeTable.saveCustomStore('update:sort');
11539
- });
11545
+ $xeTable.handleColDragSwapColumn();
11540
11546
  }
11541
11547
  }).catch(() => {});
11542
11548
  }
@@ -13007,15 +13013,18 @@ const Methods = {
13007
13013
  const $xeTable = this;
13008
13014
  const internalData = $xeTable;
13009
13015
  const {
13016
+ intoRunScroll,
13010
13017
  inFooterScroll,
13011
13018
  inBodyScroll,
13012
13019
  lastScrollTop
13013
13020
  } = internalData;
13014
- if (inFooterScroll) {
13015
- return;
13016
- }
13017
- if (inBodyScroll) {
13018
- return;
13021
+ if (!intoRunScroll) {
13022
+ if (inFooterScroll) {
13023
+ return;
13024
+ }
13025
+ if (inBodyScroll) {
13026
+ return;
13027
+ }
13019
13028
  }
13020
13029
  const tableHeader = $xeTable.$refs.tableHeader;
13021
13030
  const tableBody = $xeTable.$refs.tableBody;
@@ -13049,15 +13058,18 @@ const Methods = {
13049
13058
  const $xeTable = this;
13050
13059
  const internalData = $xeTable;
13051
13060
  const {
13061
+ intoRunScroll,
13052
13062
  inFooterScroll,
13053
13063
  inBodyScroll,
13054
13064
  lastScrollLeft
13055
13065
  } = internalData;
13056
- if (inFooterScroll) {
13057
- return;
13058
- }
13059
- if (inBodyScroll) {
13060
- return;
13066
+ if (!intoRunScroll) {
13067
+ if (inFooterScroll) {
13068
+ return;
13069
+ }
13070
+ if (inBodyScroll) {
13071
+ return;
13072
+ }
13061
13073
  }
13062
13074
  const tableBody = $xeTable.$refs.tableBody;
13063
13075
  const leftBody = $xeTable.$refs.leftBody;
@@ -13209,7 +13221,6 @@ const Methods = {
13209
13221
  const {
13210
13222
  showOverflow
13211
13223
  } = props;
13212
- // this.tableColumn = []
13213
13224
  return $xeTable.$nextTick().then(() => {
13214
13225
  $xeTable.handleTableColumn();
13215
13226
  calcCellHeight($xeTable);
@@ -13275,7 +13286,6 @@ const Methods = {
13275
13286
  },
13276
13287
  updateScrollYData() {
13277
13288
  const $xeTable = this;
13278
- // this.tableData = []
13279
13289
  return $xeTable.$nextTick().then(() => {
13280
13290
  $xeTable.handleTableData();
13281
13291
  calcCellHeight($xeTable);
@@ -13353,6 +13363,7 @@ const Methods = {
13353
13363
  */
13354
13364
  scrollTo(scrollLeft, scrollTop) {
13355
13365
  const $xeTable = this;
13366
+ const internalData = $xeTable;
13356
13367
  const {
13357
13368
  $refs
13358
13369
  } = this;
@@ -13368,6 +13379,7 @@ const Methods = {
13368
13379
  const rightBodyElem = rightBody ? rightBody.$el : null;
13369
13380
  const tableHeaderElem = tableHeader ? tableHeader.$el : null;
13370
13381
  const tableFooterElem = tableFooter ? tableFooter.$el : null;
13382
+ internalData.intoRunScroll = true;
13371
13383
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(scrollLeft)) {
13372
13384
  const xHandleEl = $xeTable.$refs.refScrollXHandleElem;
13373
13385
  if (xHandleEl) {
@@ -13389,7 +13401,14 @@ const Methods = {
13389
13401
  }
13390
13402
  }
13391
13403
  if (this.scrollXLoad || this.scrollYLoad) {
13392
- return new Promise(resolve => setTimeout(() => resolve(this.$nextTick()), 30));
13404
+ return new Promise(resolve => {
13405
+ setTimeout(() => {
13406
+ $xeTable.$nextTick(() => {
13407
+ internalData.intoRunScroll = false;
13408
+ resolve();
13409
+ });
13410
+ });
13411
+ });
13393
13412
  }
13394
13413
  return this.$nextTick();
13395
13414
  },
@@ -13454,20 +13473,18 @@ const Methods = {
13454
13473
  */
13455
13474
  clearScroll() {
13456
13475
  const $xeTable = this;
13476
+ const internalData = $xeTable;
13457
13477
  const {
13458
- $refs,
13459
13478
  scrollXStore,
13460
13479
  scrollYStore
13461
- } = $xeTable;
13462
- const {
13463
- tableBody,
13464
- tableHeader,
13465
- leftBody,
13466
- rightBody,
13467
- tableFooter
13468
- } = $refs;
13469
- const tableBodyElem = tableBody ? tableBody.$el : null;
13480
+ } = internalData;
13481
+ const tableBody = $xeTable.$refs.tableBody;
13482
+ const tableHeader = $xeTable.$refs.tableHeader;
13483
+ const tableFooter = $xeTable.$refs.tableFooter;
13484
+ const leftBody = $xeTable.$refs.leftBody;
13485
+ const rightBody = $xeTable.$refs.rightBody;
13470
13486
  const leftBodyElem = leftBody ? leftBody.$el : null;
13487
+ const tableBodyElem = tableBody ? tableBody.$el : null;
13471
13488
  const rightBodyElem = rightBody ? rightBody.$el : null;
13472
13489
  const tableHeaderElem = tableHeader ? tableHeader.$el : null;
13473
13490
  const tableFooterElem = tableFooter ? tableFooter.$el : null;
@@ -16629,7 +16646,7 @@ const renderPopupPanel = (h, _vm) => {
16629
16646
  }
16630
16647
  }), immediate ? h(VxeUIButtonComponent, {
16631
16648
  props: {
16632
- content: customOpts.resetButtonText || panel_getI18n('vxe.custom.customClose')
16649
+ content: customOpts.resetButtonText || panel_getI18n('vxe.table.customClose')
16633
16650
  },
16634
16651
  on: {
16635
16652
  click: _vm.cancelCloseEvent
@@ -17164,11 +17181,7 @@ const renderPopupPanel = (h, _vm) => {
17164
17181
  }, evnt);
17165
17182
  if (immediate) {
17166
17183
  reactData.customColumnList = collectColumn.slice(0);
17167
- $xeTable.refreshColumn(true).then(() => {
17168
- $xeTable.updateCellAreas();
17169
- $xeTable.handleCustom();
17170
- $xeTable.saveCustomStore('update:sort');
17171
- });
17184
+ $xeTable.handleColDragSwapColumn();
17172
17185
  }
17173
17186
  }).catch(() => {});
17174
17187
  }