You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
660 B
27 lines
660 B
7 years ago
|
<cn>
|
||
|
#### 封顶数字
|
||
|
超过 `overflowCount` 的会显示为 `${overflowCount}+`,默认的 `overflowCount` 为 `99`。
|
||
|
</cn>
|
||
|
|
||
|
<us>
|
||
|
#### Overflow Count
|
||
|
`${overflowCount}+` is displayed when count is larger than `overflowCount`. The default value of `overflowCount` is `99`.
|
||
|
</us>
|
||
|
|
||
|
```html
|
||
|
<template>
|
||
|
<a-badge count=99>
|
||
|
<a href="#" class="head-example"></a>
|
||
|
</a-badge>
|
||
|
<a-badge count=100>
|
||
|
<a href="#" class="head-example"></a>
|
||
|
</a-badge>
|
||
|
<a-badge count=99 overflowCount=10>
|
||
|
<a href="#" class="head-example"></a>
|
||
|
</a-badge>
|
||
|
<a-badge count=1000 overflowCount=999>
|
||
|
<a href="#" class="head-example"></a>
|
||
|
</a-badge>
|
||
|
</template>
|
||
|
```
|