element-plus/ssr-testing/cases/badge.vue
JeremyWuuuuu 3f72ec5818
test(ssr): add ssr testing cases (#6657)
* test(ssr): add ssr testing cases

- Add cases for backtop, badge, breadcrumb, button, calendar
- Fix a issue which caused backtop not SSR renderable

* Update card, carousel cascader test cases

* Add more cases
2022-03-18 11:56:41 +08:00

15 lines
456 B
Vue

<template>
<el-badge :value="12" style="margin-right: 20px">
<el-button>comments</el-button>
</el-badge>
<el-badge :value="3" style="margin-right: 20px">
<el-button>replies</el-button>
</el-badge>
<el-badge :value="1" type="primary" style="margin-right: 20px">
<el-button>comments</el-button>
</el-badge>
<el-badge :value="2" type="warning" style="margin-right: 20px">
<el-button>replies</el-button>
</el-badge>
</template>