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

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

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