mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(Notify): fix incorrect type
This commit is contained in:
parent
47c3d61584
commit
7ec427c145
0
packages/vant-cli/src/index.js
Normal file → Executable file
0
packages/vant-cli/src/index.js
Normal file → Executable 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` | | - |
|
||||
|
@ -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` | - |
|
||||
|
Loading…
x
Reference in New Issue
Block a user