refactor(vxe-table): 将 gridOptions 类型从 DeepPartial 改为 Partial

简化类型定义,移除不必要的深层可选类型,因为 VxeTableGridOptions 本身可能已包含可选属性或嵌套对象的适当处理。
This commit is contained in:
dap
2026-01-28 10:57:08 +08:00
parent f01093af6d
commit 32344ed038

View File

@@ -7,7 +7,7 @@ import type {
import type { Ref } from 'vue';
import type { ClassType, DeepPartial } from '@vben/types';
import type { ClassType } from '@vben/types';
import type { BaseFormComponentType, VbenFormProps } from '@vben-core/form-ui';
@@ -59,7 +59,7 @@ export interface VxeGridProps<
/**
* vxe-grid 配置
*/
gridOptions?: DeepPartial<VxeTableGridOptions<T>>;
gridOptions?: Partial<VxeTableGridOptions<T>>;
/**
* vxe-grid 事件
*/