[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
+1 -6
View File
@@ -16,19 +16,14 @@
</template>
<script>
import Cell from '../cell';
import findParent from '../mixins/find-parent';
import { create, isDef } from '../utils';
export default create({
name: 'van-collapse-item',
name: 'collapse-item',
mixins: [findParent],
components: {
Cell
},
props: {
name: [String, Number],
title: String