From 43a7047326e149df809c5a89ca99461e5daf7a4b Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Mon, 14 Dec 2020 17:07:58 +0800 Subject: [PATCH] docs: fix table --- src/action-bar/README.zh-CN.md | 2 +- src/checkbox/README.md | 4 ++-- src/coupon-list/README.md | 2 +- src/coupon-list/README.zh-CN.md | 4 ++-- src/index-bar/README.md | 2 +- src/notify/README.md | 4 ++-- src/notify/README.zh-CN.md | 2 +- src/radio/README.md | 4 ++-- src/tab/README.md | 2 +- src/toast/README.zh-CN.md | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/action-bar/README.zh-CN.md b/src/action-bar/README.zh-CN.md index caf84c64c..a711f8244 100644 --- a/src/action-bar/README.zh-CN.md +++ b/src/action-bar/README.zh-CN.md @@ -106,7 +106,7 @@ export default { ### ActionBarButton Props | 参数 | 说明 | 类型 | 默认值 | -| --- | --- | --- | --- | --- | +| --- | --- | --- | --- | | text | 按钮文字 | _string_ | - | | type | 按钮类型,可选值为 `primary` `info` `warning` `danger` | _string_ | `default` | | color | 按钮颜色,支持传入`linear-gradient`渐变色 | _string_ | - | diff --git a/src/checkbox/README.md b/src/checkbox/README.md index b26d26bad..8e99de63b 100644 --- a/src/checkbox/README.md +++ b/src/checkbox/README.md @@ -240,7 +240,7 @@ export default { ### Checkbox Props | Attribute | Description | Type | Default | -| --- | --- | --- | --- | --- | +| --- | --- | --- | --- | | v-model | Check status | _boolean_ | `false` | | name | Checkbox name | _any_ | - | | shape | Can be set to `square` | _string_ | `round` | @@ -254,7 +254,7 @@ export default { ### CheckboxGroup Props | Attribute | Description | Type | Default | -| --- | --- | --- | --- | --- | +| --- | --- | --- | --- | | v-model | Names of all checked checkboxes | _any[]_ | - | | disabled | Whether to disable all checkboxes | _boolean_ | `false` | | max | Maximum amount of checked options | _number \| string_ | `0`(Unlimited) | diff --git a/src/coupon-list/README.md b/src/coupon-list/README.md index 29df73cad..c2e4c0b03 100644 --- a/src/coupon-list/README.md +++ b/src/coupon-list/README.md @@ -88,7 +88,7 @@ export default { ### CouponList Props | Attribute | Description | Type | Default | -| --- | --- | --- | --- | --- | +| --- | --- | --- | --- | | v-model | Current exchange code | _string_ | - | | chosen-coupon | Index of chosen coupon | _number_ | `-1` | | coupons | Coupon list | _Coupon[]_ | `[]` | diff --git a/src/coupon-list/README.zh-CN.md b/src/coupon-list/README.zh-CN.md index 2e2fff23f..ae27d25dc 100644 --- a/src/coupon-list/README.zh-CN.md +++ b/src/coupon-list/README.zh-CN.md @@ -77,13 +77,13 @@ export default { ### CouponCell Props | 参数 | 说明 | 类型 | 默认值 | -| ------------- | -------------------- | ------------------ | -------- | --- | +| ------------- | -------------------- | ------------------ | -------- | | title | 单元格标题 | _string_ | `优惠券` | | chosen-coupon | 当前选中优惠券的索引 | _number \| string_ | `-1` | | coupons | 可用优惠券列表 | _Coupon[]_ | `[]` | | editable | 能否切换优惠券 | _boolean_ | `true` | | border | 是否显示内边框 | _boolean_ | `true` | -| currency | 货币符号 | _string_ | `¥` | - | +| currency | 货币符号 | _string_ | `¥` | - | ### CouponList Props diff --git a/src/index-bar/README.md b/src/index-bar/README.md index 49d949b89..be408f58a 100644 --- a/src/index-bar/README.md +++ b/src/index-bar/README.md @@ -64,7 +64,7 @@ export default { ### IndexBar Props | Attribute | Description | Type | Default | -| --- | --- | --- | --- | --- | +| --- | --- | --- | --- | | index-list | Index List | _string[] \| number[]_ | `A-Z` | | z-index | z-index | _number \| string_ | `1` | | sticky | Whether to enable anchor sticky top | _boolean_ | `true` | diff --git a/src/notify/README.md b/src/notify/README.md index 4b66d5ed7..a616fa053 100644 --- a/src/notify/README.md +++ b/src/notify/README.md @@ -91,7 +91,7 @@ export default { ### Methods | Methods | Attribute | Return value | Description | -| --- | --- | --- | --- | --- | +| --- | --- | --- | --- | | Notify | `options | message` | notify instance | Show notify | | Notify.clear | - | `void` | Close notify | | Notify.setDefaultOptions | `options` | `void` | Set default options of all notifies | @@ -100,7 +100,7 @@ export default { ### Options | Attribute | Description | Type | Default | -| --- | --- | --- | --- | --- | +| --- | --- | --- | --- | | type | Can be set to `primary` `success` `warning` | _string_ | `danger` | | message | Message | _string_ | - | | duration | Duration(ms), won't disappear if value is 0 | _number \| string_ | `3000` | diff --git a/src/notify/README.zh-CN.md b/src/notify/README.zh-CN.md index 122bc6557..99c77d315 100644 --- a/src/notify/README.zh-CN.md +++ b/src/notify/README.zh-CN.md @@ -128,7 +128,7 @@ export default { ### 方法 | 方法名 | 说明 | 参数 | 返回值 | -| --- | --- | --- | --- | --- | +| --- | --- | --- | --- | | Notify | 展示提示 | `options | message` | notify 实例 | | Notify.clear | 关闭提示 | - | `void` | | Notify.setDefaultOptions | 修改默认配置,对所有 Notify 生效 | `options` | `void` | diff --git a/src/radio/README.md b/src/radio/README.md index e25553b92..17413e457 100644 --- a/src/radio/README.md +++ b/src/radio/README.md @@ -155,7 +155,7 @@ export default { ### Radio Props | Attribute | Description | Type | Default | -| --- | --- | --- | --- | --- | +| --- | --- | --- | --- | | name | Radio name | _any_ | - | | shape | Can be set to `square` | _string_ | `round` | | disabled | Whether to disable radio | _boolean_ | `false` | @@ -167,7 +167,7 @@ export default { ### RadioGroup Props | Attribute | Description | Type | Default | -| --- | --- | --- | --- | --- | +| --- | --- | --- | --- | | v-model | Name of checked radio | _any_ | - | | disabled | Disable all radios | _boolean_ | `false` | | direction `v2.5.0` | Direction, can be set to `horizontal` | _string_ | `vertical` | diff --git a/src/tab/README.md b/src/tab/README.md index 7aba05046..2423818b0 100644 --- a/src/tab/README.md +++ b/src/tab/README.md @@ -233,7 +233,7 @@ export default { ### Tabs Props | Attribute | Description | Type | Default | -| --- | --- | --- | --- | --- | +| --- | --- | --- | --- | | v-model:active | Index of active tab | _number \| string_ | `0` | | type | Can be set to `line` `card` | _string_ | `line` | | color | Tab color | _string_ | `#ee0a24` | diff --git a/src/toast/README.zh-CN.md b/src/toast/README.zh-CN.md index d41aa1bec..63bc97cd5 100644 --- a/src/toast/README.zh-CN.md +++ b/src/toast/README.zh-CN.md @@ -161,7 +161,7 @@ Toast.resetDefaultOptions('loading'); ### Options | 参数 | 说明 | 类型 | 默认值 | -| --- | --- | --- | --- | --- | +| --- | --- | --- | --- | | type | 提示类型,可选值为 `loading` `success`
`fail` `html` | _string_ | `text` | | position | 位置,可选值为 `top` `bottom` | _string_ | `middle` | | message | 文本内容,支持通过`\n`换行 | _string_ | `''` | - |