提交 32d306b6 编写于 作者: D dolymood

docs(upload): v-model prop desc

上级 4e2beb62
......@@ -8,6 +8,7 @@
| Attribute | Description | Type |
| - | - | - |
| v-model | file list | Array | [] | [{ name, size, url, status: 'success', progress: 1 }] |
| name | file name | String |
| size | file size | Number |
| url | file url, created by URL.createObjectURL, for preview | String |
......
......@@ -188,6 +188,7 @@
| 参数 | 说明 | 类型 | 默认值 | 示例 |
| - | - | - | - | - |
| v-model | 文件列表 | Array | [] | [{ name, size, url, status: 'success', progress: 1 }] |
| action | 上传行为配置项,最少包含上传目标的 URL 地址 | String/Object | '' | { target: '/upload' } |
| max | 最大上传文件个数 | Number | 10 | - |
| auto | 是否自动上传,即选择完文件后自动开始上传 | Boolean | true | - |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册