mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] add tip of new line character
This commit is contained in:
parent
e6dbe06ee8
commit
7eb5846d62
@ -119,7 +119,7 @@ export default {
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| title | 标题 | `String` | - | - |
|
||||
| message | 内容 | `String` | - | - |
|
||||
| message | 文本内容,支持通过`\n`换行 | `String` | - | - |
|
||||
| messageAlign | 内容对齐方式,可选值为`left` `right` | `String` | `center` | 1.5.0 |
|
||||
| className | 自定义类名 | `String | Array | Object` | - | 1.1.7 |
|
||||
| showConfirmButton | 是否展示确认按钮 | `Boolean` | `true` | - |
|
||||
|
@ -50,7 +50,7 @@ export default {
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| message | 展示文案 | `String` | - | 1.4.7 |
|
||||
| message | 展示文案,支持通过`\n`换行 | `String` | - | 1.4.7 |
|
||||
| duration | 展示时长(ms),值为 0 时,notify 不会消失 | `Number` | `3000` | 1.4.7 |
|
||||
| color | 字体颜色 | `String` | `#fff` | 1.4.7 |
|
||||
| background | 背景颜色 | `String` | `#f44` | 1.4.7 |
|
||||
|
@ -97,7 +97,7 @@ toast2.clear();
|
||||
|------|------|------|------|------|
|
||||
| type | 提示类型,可选值为 `loading` `success`<br>`fail` `html` | `String` | `text` | - |
|
||||
| position | 位置,可选值为 `top` `bottom` | `String` | `middle` | - |
|
||||
| message | 内容 | `String` | `''` | - | - |
|
||||
| message | 文本内容,支持通过`\n`换行 | `String` | `''` | - | - |
|
||||
| mask | 是否显示背景蒙层 | `Boolean` | `false` | - |
|
||||
| forbidClick | 是否禁止背景点击 | `Boolean` | `false` | - |
|
||||
| loadingType | 加载图标类型, 可选值为 `spinner` | `String` | `circular` | 1.1.3 |
|
||||
|
Loading…
x
Reference in New Issue
Block a user