[Improvement] extract component common part (#703)

This commit is contained in:
neverland
2018-03-16 17:10:46 +08:00
committed by GitHub
parent f26ad3b912
commit ffd72e5442
81 changed files with 174 additions and 207 deletions

View File

@@ -5,15 +5,13 @@
</template>
<script>
import Cell from '../cell';
import VanSwitch from '../switch';
import { create } from '../utils';
export default create({
name: 'van-switch-cell',
name: 'switch-cell',
components: {
Cell,
VanSwitch
},