25 lines
314 B
Vue
25 lines
314 B
Vue
|
<docs>
|
||
|
---
|
||
|
order: 8
|
||
|
title:
|
||
|
zh-CN: 可点击
|
||
|
en-US: Clickable
|
||
|
---
|
||
|
|
||
|
## zh-CN
|
||
|
|
||
|
用 a 标签进行包裹即可。
|
||
|
|
||
|
## en-US
|
||
|
The badge can be wrapped with `a` tag to make it linkable.
|
||
|
|
||
|
</docs>
|
||
|
|
||
|
<template>
|
||
|
<a href="#">
|
||
|
<a-badge count="5">
|
||
|
<span class="head-example" />
|
||
|
</a-badge>
|
||
|
</a>
|
||
|
</template>
|