mirror of
https://github.com/youzan/vant.git
synced 2026-05-07 01:01:01 +08:00
docs: remove earlier version tags (#7109)
This commit is contained in:
@@ -96,7 +96,7 @@ export default {
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
| --- | --- | --- | --- |
|
||||
| type `v2.1.6` | Can be set to `primary` `success` `warning` | _string_ | `danger` |
|
||||
| type | Can be set to `primary` `success` `warning` | _string_ | `danger` |
|
||||
| message | Message | _string_ | - |
|
||||
| duration | Duration(ms), won't disappear if value is 0 | _number \| string_ | `3000` |
|
||||
| color | Message color | _string_ | `white` | |
|
||||
|
||||
@@ -133,7 +133,7 @@ export default {
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| --- | --- | --- | --- |
|
||||
| type `v2.1.6` | 类型,可选值为 `primary` `success` `warning` | _string_ | `danger` |
|
||||
| type | 类型,可选值为 `primary` `success` `warning` | _string_ | `danger` |
|
||||
| message | 展示文案,支持通过`\n`换行 | _string_ | - |
|
||||
| duration | 展示时长(ms),值为 0 时,notify 不会消失 | _number \| string_ | `3000` |
|
||||
| color | 字体颜色 | _string_ | `white` |
|
||||
|
||||
Reference in New Issue
Block a user