[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 -8
View File
@@ -6,16 +6,9 @@
<script>
import { create } from '../utils';
import Cell from '../cell';
import CellGroup from '../cell-group';
export default create({
name: 'van-coupon-cell',
components: {
Cell,
CellGroup
},
name: 'coupon-cell',
model: {
prop: 'chosenCoupon'