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

Co-authored-by: gavin-james <meaganlindesy1258@gmail.com>
This commit is contained in:
林飞 2023-11-30 09:16:37 +08:00 committed by GitHub
parent beee35173b
commit 2376e8f67d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',