[new feature] Coupon: add currency prop (#2274)

This commit is contained in:
neverland
2018-12-12 16:59:09 +08:00
committed by GitHub
parent a4a2ce9635
commit 267e5eda1d
6 changed files with 20 additions and 4 deletions
+2
View File
@@ -74,6 +74,7 @@ export default {
| coupons | Coupon list | `Array` | `[]` |
| editable | Cell editable | `Boolean` | `true` |
| border | Whether to show innner border | `Boolean` | `true` |
| currency | Currency symbol | `String` | `¥` |
### CouponList API
@@ -90,6 +91,7 @@ export default {
| displayed-coupon-index | Index of displayed coupon | `Number` | - |
| close-button-text | Close button text | `String` | `Close` |
| input-placeholder | Input placeholder | `String` | `Coupon code` |
| currency | Currency symbol | `String` | `¥` |
### CouponList Event