Commit df0d7bd98f638d77f9be0cf78486fd74d937a395

Authored by 梁灏
1 parent 9036ebad

fix #5194 , close #5195

examples/routers/tag.vue
@@ -69,6 +69,8 @@ @@ -69,6 +69,8 @@
69 Toggle 69 Toggle
70 </Button> 70 </Button>
71 <span>{{ checked }}</span> 71 <span>{{ checked }}</span>
  72 + <br><br>
  73 + <Tag type="dot" color="gold">标签四</Tag>
72 </div> 74 </div>
73 </template> 75 </template>
74 <script> 76 <script>
src/styles/components/tag.less
@@ -244,6 +244,9 @@ @@ -244,6 +244,9 @@
244 .@{tag-prefix-cls}-text{ 244 .@{tag-prefix-cls}-text{
245 color: @@darkColor !important; 245 color: @@darkColor !important;
246 } 246 }
  247 + &.@{tag-prefix-cls}-dot{
  248 + line-height: 32px;
  249 + }
247 } 250 }
248 } 251 }
249 252