[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,19 +1,19 @@
<template>
<van-cell :title="title" class="van-switch-cell">
<cell :title="title" class="van-switch-cell">
<van-switch v-bind="$props" @input="$emit('input', $event)" />
</van-cell>
</cell>
</template>
<script>
import Cell from '../cell';
import Switch from '../switch';
import VanSwitch from '../switch';
export default {
name: 'van-switch-cell',
components: {
[Cell.name]: Cell,
[Switch.name]: Switch
Cell,
VanSwitch
},
props: {