From 32344ed038f856160af4ddda3b0eafd60005fc75 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Wed, 28 Jan 2026 10:57:08 +0800 Subject: [PATCH] =?UTF-8?q?refactor(vxe-table):=20=E5=B0=86=20gridOptions?= =?UTF-8?q?=20=E7=B1=BB=E5=9E=8B=E4=BB=8E=20DeepPartial=20=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=20Partial?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 简化类型定义,移除不必要的深层可选类型,因为 VxeTableGridOptions 本身可能已包含可选属性或嵌套对象的适当处理。 --- packages/effects/plugins/src/vxe-table/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/effects/plugins/src/vxe-table/types.ts b/packages/effects/plugins/src/vxe-table/types.ts index 93b0ba83..fbb58de7 100644 --- a/packages/effects/plugins/src/vxe-table/types.ts +++ b/packages/effects/plugins/src/vxe-table/types.ts @@ -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>; + gridOptions?: Partial>; /** * vxe-grid 事件 */