[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
+5 -5
View File
@@ -1,5 +1,5 @@
<template>
<van-cell
<cell
:title="label"
:required="required"
class="van-field"
@@ -41,10 +41,10 @@
@touchstart.prevent="onClickIcon"
>
<slot name="icon">
<van-icon :name="icon" />
<icon :name="icon" />
</slot>
</div>
</van-cell>
</cell>
</template>
<script>
@@ -55,8 +55,8 @@ export default {
name: 'van-field',
components: {
[Cell.name]: Cell,
[Icon.name]: Icon
Cell,
Icon
},
props: {