mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
docs: update version tag
This commit is contained in:
@@ -66,14 +66,14 @@ export default {
|
||||
|
||||
### Options
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| 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` | | - |
|
||||
| background | Background color | *string* | - | - |
|
||||
| className | Custom className | *any* | - | - |
|
||||
| onClick | Callback function after click | *Function* | - | - |
|
||||
| onOpened | Callback function after opened | *Function* | - | - |
|
||||
| onClose | Callback function after close | *Function* | - | - |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| type `v2.1.6` | Can be set to `primary` `success` `warning` | *string* | `danger` |
|
||||
| message | Message | *string* | - |
|
||||
| duration | Duration(ms), won't disappear if value is 0 | *number* | `3000` |
|
||||
| color | Message color | *string* | `#fff` | |
|
||||
| background | Background color | *string* | - |
|
||||
| className | Custom className | *any* | - |
|
||||
| onClick | Callback function after click | *Function* | - |
|
||||
| onOpened | Callback function after opened | *Function* | - |
|
||||
| onClose | Callback function after close | *Function* | - |
|
||||
|
@@ -77,14 +77,14 @@ export default {
|
||||
|
||||
### Options
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| type | 类型,可选值为 `primary` `success` `warning` | *string* | `danger` | 2.1.6 |
|
||||
| message | 展示文案,支持通过`\n`换行 | *string* | - | - |
|
||||
| duration | 展示时长(ms),值为 0 时,notify 不会消失 | *number* | `3000` | - |
|
||||
| color | 字体颜色 | *string* | `#fff` | - |
|
||||
| background | 背景颜色 | *string* | - | - |
|
||||
| className | 自定义类名 | *any* | - | - |
|
||||
| onClick | 点击时的回调函数 | *Function* | - | - |
|
||||
| onOpened | 完全展示后的回调函数 | *Function* | - | - |
|
||||
| onClose | 关闭时的回调函数 | *Function* | - | - |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| type `v2.1.6` | 类型,可选值为 `primary` `success` `warning` | *string* | `danger` |
|
||||
| message | 展示文案,支持通过`\n`换行 | *string* | - |
|
||||
| duration | 展示时长(ms),值为 0 时,notify 不会消失 | *number* | `3000` |
|
||||
| color | 字体颜色 | *string* | `#fff` |
|
||||
| background | 背景颜色 | *string* | - |
|
||||
| className | 自定义类名 | *any* | - |
|
||||
| onClick | 点击时的回调函数 | *Function* | - |
|
||||
| onOpened | 完全展示后的回调函数 | *Function* | - |
|
||||
| onClose | 关闭时的回调函数 | *Function* | - |
|
||||
|
Reference in New Issue
Block a user