From bc8745153dbc87abe46d9b946b32db8662b11cb0 Mon Sep 17 00:00:00 2001 From: gxuud Date: Fri, 10 May 2024 21:09:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=BA=E7=B1=BB=E5=9E=8B=E5=A3=B0?= =?UTF-8?q?=E6=98=8E=E6=B7=BB=E5=8A=A0=E4=BA=86=E5=AF=BC=E5=85=A5=E8=AF=AD?= =?UTF-8?q?=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/pro-field/src/index.tsx | 8 ++++---- packages/utils/src/index.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/pro-field/src/index.tsx b/packages/pro-field/src/index.tsx index 8877860c..e194db7a 100644 --- a/packages/pro-field/src/index.tsx +++ b/packages/pro-field/src/index.tsx @@ -30,9 +30,9 @@ import { proFieldFC, proFieldFCRenderProps, type ProFieldFCRenderProps, - ProFieldFC, - BaseProFieldFC, - ProRenderFieldPropsType, + type ProFieldFC, + type BaseProFieldFC, + type ProRenderFieldPropsType, } from './components/typings'; export { @@ -358,7 +358,7 @@ const ProField = defineComponent({ }); ProField.install = (app: App) => { - app.component(ProField.name, ProField); + app.component(ProField.name as string, ProField); return app; }; diff --git a/packages/utils/src/index.ts b/packages/utils/src/index.ts index aac13b69..0ea1c27c 100644 --- a/packages/utils/src/index.ts +++ b/packages/utils/src/index.ts @@ -16,7 +16,7 @@ import { proxyToRaw } from "./proxyToRaw"; export { proxyToRaw }; // type -import { +import type { VueNode, ProFieldFCMode, VueText,