[Improvement] extract component common part (#703)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user