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` | - |