vxe-table 3.19.21 → 3.19.22

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.
@@ -1554,6 +1554,16 @@ export default {
1554
1554
  })
1555
1555
  return rgColumns
1556
1556
  },
1557
+ computeAggFuncColumns () {
1558
+ const $xeTable = this as VxeTableConstructor & VxeTablePrivateMethods
1559
+ const reactData = $xeTable as unknown as TableReactData
1560
+
1561
+ const { rowGroupList, tableColumn } = reactData
1562
+ if (rowGroupList.length) {
1563
+ return tableColumn.filter(column => column.field && column.aggFunc)
1564
+ }
1565
+ return []
1566
+ },
1557
1567
  tabsResizeFlag () {
1558
1568
  const $xeTable = this as VxeTableConstructor & VxeTablePrivateMethods
1559
1569
  const $xeTabs = $xeTable.$xeTabs
@@ -2145,8 +2155,9 @@ export default {
2145
2155
  if (this.$resize) {
2146
2156
  this.$resize.disconnect()
2147
2157
  }
2148
- this.closeFilter()
2149
- this.closeMenu()
2158
+ $xeTable.closeTooltip()
2159
+ $xeTable.closeFilter()
2160
+ $xeTable.closeMenu()
2150
2161
 
2151
2162
  globalEvents.off($xeTable, 'paste')
2152
2163
  globalEvents.off($xeTable, 'copy')