2018-02-07 10:44:11 +00:00
|
|
|
<cn>
|
|
|
|
#### 可点击
|
|
|
|
用 a 标签进行包裹即可。
|
|
|
|
</cn>
|
|
|
|
|
|
|
|
<us>
|
|
|
|
#### Clickable
|
|
|
|
The badge can be wrapped with `a` tag to make it linkable.
|
|
|
|
</us>
|
|
|
|
|
|
|
|
```html
|
|
|
|
<template>
|
2018-03-09 09:50:33 +00:00
|
|
|
<a href="#">
|
|
|
|
<a-badge count="5">
|
|
|
|
<span class="head-example" />
|
|
|
|
</a-badge>
|
|
|
|
</a>
|
2018-02-07 10:44:11 +00:00
|
|
|
</template>
|
|
|
|
```
|