[improvement] make props less magic (#3775)
This commit is contained in:
@@ -60,7 +60,10 @@ CouponCell.model = {
|
||||
|
||||
CouponCell.props = {
|
||||
title: String,
|
||||
coupons: Array,
|
||||
coupons: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
},
|
||||
currency: {
|
||||
type: String,
|
||||
default: '¥'
|
||||
|
||||
Reference in New Issue
Block a user