Commit 399bdaf4 authored by baiyaaaaa's avatar baiyaaaaa Committed by GitHub

Merge pull request #922 from baiyaaaaa/master

docs improve
parents 8484f127 547293e3
......@@ -152,3 +152,9 @@
| on-error | 可选参数, 文件上传失败时的钩子 | function(err, response, file) | — | — |
| before-upload | 可选参数, 上传文件之前的钩子,参数为上传的文件,若返回 false 或者 Promise 则停止上传。 | function(file) | — | — |
| thumbnail-mode | 是否设置为图片模式,该模式下会显示图片缩略图 | boolean | — | false |
### Upload Methods
| 方法名 | 说明 | 参数 |
|---------- |-------------- | - |
| clearFiles | 清空已上传的文件列表 | — |
......@@ -26,6 +26,8 @@
:minlength="minlength"
:autocomplete="autoComplete"
:autofocus="autofocus"
:min="min"
:max="max"
:form="form"
:value="value"
ref="input"
......@@ -95,7 +97,9 @@
},
form: String,
maxlength: Number,
minlength: Number
minlength: Number,
max: {},
min: {}
},
methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment