mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-09 07:51:10 +08:00
refactor(vxe-table): 将 gridOptions 类型从 DeepPartial 改为 Partial
简化类型定义,移除不必要的深层可选类型,因为 VxeTableGridOptions 本身可能已包含可选属性或嵌套对象的适当处理。
This commit is contained in:
@@ -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 事件
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user