Browse Source

feat: 修复 vxetable 实例中缺少的 getRefMaps 和 getComputeMaps 方法 (#3361)

Co-authored-by: gavin-james <meaganlindesy1258@gmail.com>
林飞 1 year ago
parent
commit
2376e8f67d
1 changed files with 10 additions and 1 deletions
  1. 10 1
      src/components/VxeTable/src/methods.ts

+ 10 - 1
src/components/VxeTable/src/methods.ts

@@ -1,12 +1,21 @@
-import { GridMethods, TableMethods, TableEditMethods, TableValidatorMethods } from 'vxe-table';
+import {
+  GridMethods,
+  TableMethods,
+  TableEditMethods,
+  TableValidatorMethods,
+  VxeGridConstructor,
+} from 'vxe-table';
 
 export const gridComponentMethodKeys: (
   | keyof GridMethods
   | keyof TableMethods
   | keyof TableEditMethods
   | keyof TableValidatorMethods
+  | keyof VxeGridConstructor
 )[] = [
   // vxe-grid 部分
+  'getRefMaps',
+  'getComputeMaps',
   'dispatchEvent',
   'commitProxy',
   'getFormItems',