docs(Notify): fix incorrect type

This commit is contained in:
陈嘉涵 2019-12-06 17:01:32 +08:00
parent 47c3d61584
commit 7ec427c145
3 changed files with 2 additions and 2 deletions

0
packages/vant-cli/src/index.js Normal file → Executable file
View File

View File

@ -68,7 +68,7 @@ export default {
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| type | Can be set to `primary` `info` `warning` | *string* | `danger` | 2.1.6 |
| type | Can be set to `primary` `success` `warning` | *string* | `danger` | 2.1.6 |
| message | Message | *string* | - | - |
| duration | Duration(ms), won't disappear if value is 0 | *number* | `3000` | - |
| color | Message color | *string* | `#fff` | | - |

View File

@ -79,7 +79,7 @@ export default {
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| type | 类型,可选值为 `primary` `info` `warning` | *string* | `danger` | 2.1.6 |
| type | 类型,可选值为 `primary` `success` `warning` | *string* | `danger` | 2.1.6 |
| message | 展示文案,支持通过`\n`换行 | *string* | - | - |
| duration | 展示时长(ms),值为 0 时notify 不会消失 | *number* | `3000` | - |
| color | 字体颜色 | *string* | `#fff` | - |