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
1 changed files with 10 additions and 1 deletions

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: ( 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',