Commit d93bdb97e0dd8e3f1dfc6ff65dca2a9d083e8589
Committed by
GitHub

Merge pull request #3586 from ChuanfengZhang/2.0
radio 组合使用,type="button"时文字没有居中
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
src/components/radio/radio.vue
@@ -11,8 +11,7 @@ | @@ -11,8 +11,7 @@ | ||
11 | @change="change" | 11 | @change="change" |
12 | @focus="onFocus" | 12 | @focus="onFocus" |
13 | @blur="onBlur"> | 13 | @blur="onBlur"> |
14 | - </span> | ||
15 | - <slot>{{ label }}</slot> | 14 | + </span><slot>{{ label }}</slot> |
16 | </label> | 15 | </label> |
17 | </template> | 16 | </template> |
18 | <script> | 17 | <script> |