From 5c7aaf0dd6ad982140c0d5b374db01cac1e859f8 Mon Sep 17 00:00:00 2001 From: Aaron-zon <1640485761@qq.com> Date: Thu, 6 Jun 2024 10:03:24 +0800 Subject: [PATCH] fix(FloatButton): type error (#7632) --- components/float-button/interface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/float-button/interface.ts b/components/float-button/interface.ts index da5b25c2fc..9db3fba65c 100644 --- a/components/float-button/interface.ts +++ b/components/float-button/interface.ts @@ -20,7 +20,7 @@ export const floatButtonProps = () => { shape: stringType('circle'), tooltip: PropTypes.any, href: String, - target: stringType<'_self' | '_blank' | '_parent' | '_top'>(), + target: String, badge: objectType(), onClick: functionType(), };