Commit d21e5b53 authored by 杨南鸿's avatar 杨南鸿

上传组件增加超时时间配置

parent 3499c9e6
{
"name": "element-ui",
"version": "2.15.7693",
"version": "2.15.7694",
"description": "A Component Library for Vue.js.",
"main": "lib/element-ui.common.js",
"files": [
......
......@@ -107,6 +107,10 @@ export default {
needTitle: {
type: Boolean,
default: false
},
timeout: {
type: Number,
default: 120000
}
},
......@@ -311,6 +315,7 @@ export default {
disabled: this.uploadDisabled,
limit: this.limit,
needTitle: this.needTitle,
timeout: this.timeout,
'on-exceed': this.onExceed,
'on-start': this.handleStart,
'on-progress': this.handleProgress,
......
......@@ -212,7 +212,7 @@ if (typeof window !== 'undefined' && window.Vue) {
}
export default {
version: '2.15.7690',
version: '2.15.7694',
locale: locale.use,
i18n: locale.i18n,
install,
......
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