From 5e4632e3a648314b6a537f93ab2bfdc4e1fa75da Mon Sep 17 00:00:00 2001 From: Clover <2621869236@qq.com> Date: Wed, 12 Jun 2024 18:07:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=86=E5=BC=95=E7=94=A8=E4=BB=8EVxeT?= =?UTF-8?q?ablePrivateRef=E9=87=8D=E5=91=BD=E5=90=8D=E4=B8=BAVxeTableDataR?= =?UTF-8?q?ow=20#2427?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 类型名称VxeTablePrivateRef已更改为VxeTableDataRow,但引用未更新,导致未解决的类型错误。此提交更新了对新类型名称VxeTableDataRow的所有引用 --- packages/table/src/table.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/table/src/table.ts b/packages/table/src/table.ts index 42007b25b0..6230b21449 100644 --- a/packages/table/src/table.ts +++ b/packages/table/src/table.ts @@ -18,7 +18,7 @@ import TableImportPanelComponent from '../module/export/import-panel' import TableExportPanelComponent from '../module/export/export-panel' import TableMenuPanelComponent from '../module/menu/panel' -import type { VxeGridConstructor, VxeGridPrivateMethods, VxeTableConstructor, TableReactData, TableInternalData, VxeTablePropTypes, VxeToolbarConstructor, TablePrivateMethods, VxeTablePrivateRef, VxeTablePrivateComputed, VxeTablePrivateMethods, TableMethods, VxeTableMethods, VxeTableDefines, VxeTableProps, VxeColumnPropTypes, VxeLoadingComponent, VxeTooltipInstance, VxeTooltipComponent } from '../../../types' +import type { VxeGridConstructor, VxeGridPrivateMethods, VxeTableConstructor, TableReactData, TableInternalData, VxeTablePropTypes, VxeToolbarConstructor, TablePrivateMethods, VxeTableDataRow, VxeTablePrivateComputed, VxeTablePrivateMethods, TableMethods, VxeTableMethods, VxeTableDefines, VxeTableProps, VxeColumnPropTypes, VxeLoadingComponent, VxeTooltipInstance, VxeTooltipComponent } from '../../../types' const { getConfig, getI18n, renderer, formats, createEvent, globalResize, interceptor, hooks, globalEvents, GLOBAL_EVENT_KEYS, useFns } = VxeUI @@ -588,7 +588,7 @@ export default defineComponent({ return false }) - const refMaps: VxeTablePrivateRef = { + const refMaps: VxeTableDataRow = { refElem, refTooltip, refValidTooltip,