From f1a5c6c7cd29e298c9cc19c38a39d69c0c3dc65e Mon Sep 17 00:00:00 2001 From: Aaron-zon <1640485761@qq.com> Date: Wed, 5 Jun 2024 22:01:34 +0800 Subject: [PATCH] fix(FloatButton): type error --- 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(), };