Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
d21e5b53
Commit
d21e5b53
authored
Jan 27, 2026
by
杨南鸿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传组件增加超时时间配置
parent
3499c9e6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
package.json
package.json
+1
-1
packages/upload/src/index.vue
packages/upload/src/index.vue
+5
-0
src/index.js
src/index.js
+1
-1
No files found.
package.json
View file @
d21e5b53
{
{
"name"
:
"element-ui"
,
"name"
:
"element-ui"
,
"version"
:
"2.15.769
3
"
,
"version"
:
"2.15.769
4
"
,
"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"
:
[
...
...
packages/upload/src/index.vue
View file @
d21e5b53
...
@@ -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
,
...
...
src/index.js
View file @
d21e5b53
...
@@ -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.769
0
'
,
version
:
'
2.15.769
4
'
,
locale
:
locale
.
use
,
locale
:
locale
.
use
,
i18n
:
locale
.
i18n
,
i18n
:
locale
.
i18n
,
install
,
install
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment