From ecf1d8af2fe6254dcee665598be0fbdd5cce26c5 Mon Sep 17 00:00:00 2001 From: G Date: Fri, 15 Dec 2023 11:44:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E5=A4=8DGField?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/gbeata/src/GField/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gbeata/src/GField/index.tsx b/packages/gbeata/src/GField/index.tsx index 67209f57..27c1348e 100644 --- a/packages/gbeata/src/GField/index.tsx +++ b/packages/gbeata/src/GField/index.tsx @@ -5,6 +5,6 @@ import { GSearchTableField } from '../GSearchTable/g-search-table'; type CommonField = GFormField | GSearchTableField; // 优化后的函数接收 CommonField 类型的参数 -export default function GField() { +export default function GField(field: CommonField) { return null; }