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