Browse Source
feat: 修复 vxetable 实例中缺少的 getRefMaps 和 getComputeMaps 方法 (#3361)
Co-authored-by: gavin-james <meaganlindesy1258@gmail.com>
pull/3362/head
林飞
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
10 additions and
1 deletions
-
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', |
|
|
|