Skip to content

Commit

Permalink
fix(CheckTag): fix checked attribute type error (#2871)
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao authored Jun 17, 2024
1 parent 92e38d0 commit 6e1f9db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/check-tag/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
/** 标签是否可关闭 */
Expand Down

0 comments on commit 6e1f9db

Please sign in to comment.