From 7ec427c1459884894de104addf6bf393ecd4cfec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Fri, 6 Dec 2019 17:01:32 +0800 Subject: [PATCH] docs(Notify): fix incorrect type --- packages/vant-cli/src/index.js | 0 src/notify/README.md | 2 +- src/notify/README.zh-CN.md | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 packages/vant-cli/src/index.js diff --git a/packages/vant-cli/src/index.js b/packages/vant-cli/src/index.js old mode 100644 new mode 100755 diff --git a/src/notify/README.md b/src/notify/README.md index daf20ed92..94153c38e 100644 --- a/src/notify/README.md +++ b/src/notify/README.md @@ -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` | | - | diff --git a/src/notify/README.zh-CN.md b/src/notify/README.zh-CN.md index 1c3afe69c..7a3f583ae 100644 --- a/src/notify/README.zh-CN.md +++ b/src/notify/README.zh-CN.md @@ -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` | - |