mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] fix documentation error (#828)
This commit is contained in:
parent
ce3c43b9d1
commit
c94542649b
@ -942,7 +942,6 @@ export default {
|
||||
'211421': '绥中县',
|
||||
'211422': '建昌县',
|
||||
'211481': '兴城市',
|
||||
'215090': '工业园区',
|
||||
'220102': '南关区',
|
||||
'220103': '宽城区',
|
||||
'220104': '朝阳区',
|
||||
|
@ -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` | - | - |
|
||||
|
@ -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` | - | - |
|
||||
|
Loading…
x
Reference in New Issue
Block a user