[Doc] fix documentation error (#828)

This commit is contained in:
张敏 2018-04-04 10:52:39 +08:00 committed by GitHub
parent ce3c43b9d1
commit c94542649b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -942,7 +942,6 @@ export default {
'211421': '绥中县',
'211422': '建昌县',
'211481': '兴城市',
'215090': '工业园区',
'220102': '南关区',
'220103': '宽城区',
'220104': '朝阳区',

View File

@ -43,7 +43,7 @@ You can set native properties such as `accpet`、`multiple` on Uploader, and the
| Attribute | Description | Type | Default | Accepted Values |
|-----------|-----------|-----------|-------------|-------------|
| result-type | Type of file read result | `String` | `dataUrl` | `text` |
| disable | Whether to disable the upload | `Boolean` | `false` | - |
| disabled | Whether to disabled the upload | `Boolean` | `false` | - |
| before-read | Hook before reading the file, return false to stop reading the file | `Function` | - | - |
| after-read | Hook after reading the file | `Function` | - | - |
| max-size | Max size of file | `Number` | - | - |

View File

@ -41,7 +41,7 @@ export default {
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
|-----------|-----------|-----------|-------------|-------------|
| result-type | 文件读取结果类型 | `String` | `dataUrl` | `text` |
| disable | 是否禁用图片上传 | `Boolean` | `false` | - |
| disabled | 是否禁用图片上传 | `Boolean` | `false` | - |
| before-read | 读取前的回调函数,返回 false 可终止文件读取 | `Function` | - | - |
| after-read | 读取完成后的回调函数 | `Function` | - | - |
| max-size | 文件大小限制,单位为 byte | `Number` | - | - |