From 81cfa26ba839cb159b3d3efab08d2d1dc253def3 Mon Sep 17 00:00:00 2001 From: anlyyao Date: Mon, 17 Jun 2024 14:58:10 +0800 Subject: [PATCH] fix(CheckTag): fix checked attribute type error --- src/check-tag/props.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/check-tag/props.ts b/src/check-tag/props.ts index b405f6779..26ecae6ad 100644 --- a/src/check-tag/props.ts +++ b/src/check-tag/props.ts @@ -8,12 +8,12 @@ import { TdCheckTagProps } from './type'; const props: TdCheckTagProps = { /** 标签选中的状态,默认风格(theme=default)才有选中态 */ checked: { - type: Boolean, + type: null, value: undefined, }, /** 标签选中的状态,默认风格(theme=default)才有选中态,非受控属性 */ defaultChecked: { - type: Boolean, + type: null, value: undefined, }, /** 标签是否可关闭 */