[Improvement] simplify inner tag name (#395)

This commit is contained in:
neverland
2017-12-08 14:56:50 +08:00
committed by GitHub
parent 2cc5767a99
commit 3208d1bb3d
37 changed files with 199 additions and 199 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
class="van-radio__control"
:disabled="isDisabled"
>
<van-icon :name="currentValue === name ? 'checked' : 'check'" />
<icon :name="currentValue === name ? 'checked' : 'check'" />
</span>
<span class="van-radio__label" @click="handleLabelClick">
<slot></slot>
@@ -27,7 +27,7 @@ export default {
name: 'van-radio',
components: {
[Icon.name]: Icon
Icon
},
mixins: [findParent],