Tag add new prop size

This commit is contained in:
梁灏 2019-09-16 17:32:52 +08:00
parent 04f5779c02
commit 8a8a1b4c40
3 changed files with 26 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<template>
<div>
<div style="margin: 200px 0;">
<div>
<Tag color="default">default</Tag>
<Tag color="primary">primary</Tag>
@ -71,6 +71,10 @@
<span>{{ checked }}</span>
<br><br>
<Tag type="dot" color="gold">标签四</Tag>
<Divider>Size</Divider>
<Tag color="primary" size="large">大号标签</Tag>
<Tag color="primary" size="medium">中号标签</Tag>
<Tag color="primary">默认尺寸</Tag>
</div>
</template>
<script>