Upload add new prop webkitdirectory
This commit is contained in:
parent
0a3ea18b48
commit
af8c2e5e59
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
||||||
:class="[prefixCls + '-input']"
|
:class="[prefixCls + '-input']"
|
||||||
@change="handleChange"
|
@change="handleChange"
|
||||||
:multiple="multiple"
|
:multiple="multiple"
|
||||||
|
:webkitdirectory="webkitdirectory"
|
||||||
:accept="accept">
|
:accept="accept">
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</div>
|
</div>
|
||||||
|
@ -142,6 +143,10 @@
|
||||||
disabled: {
|
disabled: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
|
},
|
||||||
|
webkitdirectory: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue