Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
c6dc0333
Commit
c6dc0333
authored
Sep 25, 2021
by
Facius
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-1.5.4' of
https://git.banshouhui.com/lijundan/self-support
into dev-1.5.4
parents
61cab7de
807aca9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
index.js
src/components/upload/index.js
+7
-3
No files found.
src/components/upload/index.js
View file @
c6dc0333
...
@@ -72,10 +72,14 @@ export default {
...
@@ -72,10 +72,14 @@ export default {
const
data
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
uploadTask
))
const
data
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
uploadTask
))
const
saveLists
=
data
.
concat
(
lists
)
const
saveLists
=
data
.
concat
(
lists
)
this
.
$u
.
vuex
(
'uploadTask'
,
saveLists
)
const
newTotal
=
this
.
uploadTotal
+
lists
.
length
const
newTotal
=
this
.
uploadTotal
+
lists
.
length
this
.
$u
.
vuex
(
'uploadTotal'
,
newTotal
)
setTimeout
(()
=>
{
this
.
$u
.
vuex
(
'uploadTask'
,
saveLists
)
this
.
$u
.
vuex
(
'uploadTotal'
,
newTotal
)
},
1000
)
//this.$u.vuex('uploadSuccess', 0)
//this.$u.vuex('uploadSuccess', 0)
return
lists
return
lists
},
},
...
...
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