From c35c33ed48398a1826b480aaba2a23b779ee4531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=89=91=E6=9C=AF?= <27618209+icjs-cc@users.noreply.github.com> Date: Wed, 18 Jun 2025 16:35:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=87=AA=E5=AE=9A=E4=B9=89crud=E6=89=93?= =?UTF-8?q?=E5=8C=85=E6=8A=A5=E9=94=99Return=20type=20of=20exported=20func?= =?UTF-8?q?tion=20has=20or=20is=20using=20name=20'TableHeader'=20from=20ex?= =?UTF-8?q?ternal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/crud/src/components/table/helper/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/crud/src/components/table/helper/index.ts b/packages/crud/src/components/table/helper/index.ts index 8ec2b41..3b235d7 100644 --- a/packages/crud/src/components/table/helper/index.ts +++ b/packages/crud/src/components/table/helper/index.ts @@ -2,11 +2,12 @@ import { inject, reactive, ref } from "vue"; import { useConfig } from "../../../hooks"; import { getValue, mergeConfig } from "../../../utils"; import { ElTable } from "element-plus"; +import type { TableInstance } from "element-plus"; export function useTable(props: any) { const { style } = useConfig(); - const Table = ref>(); + const Table = ref(); // 配置 const config = reactive(mergeConfig(props, inject("useTable__options") || {}));