mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
docs: improve hex readability
This commit is contained in:
@@ -71,7 +71,7 @@ export 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 \| string* | `3000` |
|
||||
| color | Message color | *string* | `#fff` | |
|
||||
| color | Message color | *string* | `white` | |
|
||||
| background | Background color | *string* | - |
|
||||
| className | Custom className | *any* | - |
|
||||
| onClick | Callback function after click | *Function* | - |
|
||||
|
@@ -82,7 +82,7 @@ export default {
|
||||
| type `v2.1.6` | 类型,可选值为 `primary` `success` `warning` | *string* | `danger` |
|
||||
| message | 展示文案,支持通过`\n`换行 | *string* | - |
|
||||
| duration | 展示时长(ms),值为 0 时,notify 不会消失 | *number \| string* | `3000` |
|
||||
| color | 字体颜色 | *string* | `#fff` |
|
||||
| color | 字体颜色 | *string* | `white` |
|
||||
| background | 背景颜色 | *string* | - |
|
||||
| className | 自定义类名 | *any* | - |
|
||||
| onClick | 点击时的回调函数 | *Function* | - |
|
||||
|
Reference in New Issue
Block a user