[new feature] CouponList: add enabled-title、disabled-title props (#3578)

This commit is contained in:
neverland
2019-06-20 20:33:44 +08:00
committed by GitHub
parent 8761669ab9
commit 1f3c2fa9db
3 changed files with 19 additions and 15 deletions
+3 -1
View File
@@ -86,7 +86,9 @@ export default {
| v-model | Current exchange code | `String` | - |
| chosen-coupon | Index of chosen coupon | `Number` | `-1` |
| coupons | Coupon list | `Array` | `[]` |
| disabled-coupons | Disabled voupon list | `Array` | `[]` |
| disabled-coupons | Disabled coupon list | `Array` | `[]` |
| enabled-title | Title of coupon list | `String` | `Available` | - |
| disabled-title | Title of disabled coupon list | `String` | `Unavailable` | - |
| exchange-button-text | Exchange button text | `String` | `Exchange` |
| exchange-button-loading | Whether to show loading in exchange button | `Boolean` | `false` |
| exchange-button-disabled | Whether to disable exchange button | `Boolean` | `false` |