[Doc] add tip of new line character

This commit is contained in:
陈嘉涵 2019-05-07 09:43:53 +08:00
parent e6dbe06ee8
commit 7eb5846d62
3 changed files with 3 additions and 3 deletions

View File

@ -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` | - |

View File

@ -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 |

View File

@ -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 |