diff --git a/packages/effects/plugins/src/vxe-table/use-vxe-grid.ts b/packages/effects/plugins/src/vxe-table/use-vxe-grid.ts index 3e7bb37caee..d2c44bfb722 100644 --- a/packages/effects/plugins/src/vxe-table/use-vxe-grid.ts +++ b/packages/effects/plugins/src/vxe-table/use-vxe-grid.ts @@ -9,8 +9,7 @@ import VxeGrid from './use-vxe-grid.vue'; export function useVbenVxeGrid(options: VxeGridProps) { // const IS_REACTIVE = isReactive(options); - const api = new VxeGridApi(options); - let extendedApi: ExtendedVxeGridApi = api as ExtendedVxeGridApi; + let extendedApi!: ExtendedVxeGridApi; const Grid = defineComponent( (props: VxeGridProps, { attrs, slots }) => {