NameDescriptionDefaultControl
status
设置 Badge 为状态点,可选值为 success、processing、default、error、warning。
'success''processing''default''error''warning'
--
count
展示的数字,大于 overflowCount 时显示为 +,为 0 时隐藏。
ReactNode
--
dot
不展示数字,只有一个小红点。
boolean
false
dotStyle
设置状态点的 style
CSSProperties
--
overflowCount
展示封顶的数字值,超过该值则显示为 +。
number
99
showZero
当数值为 0 时,是否展示 Badge。
boolean
false
target
string | Accessor<number | boolean | HTMLElement | Node | ArrayElement | (string & {}) | SVGElement | null>
--
show
Accessor<boolean>
--
style
CSSProperties
-
className
string | ((...args: ArgumentArray) => string) | string[]
-
class
string | ((...args: ArgumentArray) => string) | string[]
-
v-model
Atom<string> | Accessor<string>
--