Commit b2dee308bc02138d3b1fd8152de705a872a437ed

Authored by Chuanfeng
1 parent acbd8b17

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>