Browse Source

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

Co-authored-by: gavin-james <meaganlindesy1258@gmail.com>
pull/3362/head
林飞 3 years ago
committed by GitHub
parent
commit
2376e8f67d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      src/components/VxeTable/src/methods.ts

11
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: ( export const gridComponentMethodKeys: (
| keyof GridMethods | keyof GridMethods
| keyof TableMethods | keyof TableMethods
| keyof TableEditMethods | keyof TableEditMethods
| keyof TableValidatorMethods | keyof TableValidatorMethods
| keyof VxeGridConstructor
)[] = [ )[] = [
// vxe-grid 部分 // vxe-grid 部分
'getRefMaps',
'getComputeMaps',
'dispatchEvent', 'dispatchEvent',
'commitProxy', 'commitProxy',
'getFormItems', 'getFormItems',

Loading…
Cancel
Save