Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
source-trace-manage
Commits
b7e2233d
Commit
b7e2233d
authored
Jun 23, 2022
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e319cdec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Upload.ts
src/service/Upload.ts
+5
-2
No files found.
src/service/Upload.ts
View file @
b7e2233d
...
@@ -164,9 +164,12 @@ export function handleBigFileUpload(
...
@@ -164,9 +164,12 @@ export function handleBigFileUpload(
(
progressEvent
.
loaded
/
progressEvent
.
total
)
*
(
progressEvent
.
loaded
/
progressEvent
.
total
)
*
fileChunkPayload
.
current_size
;
fileChunkPayload
.
current_size
;
console
.
log
(
progressLoaded
/
FILE_SIZE
);
onPercentCompleteChange
&&
onPercentCompleteChange
&&
onPercentCompleteChange
(
progressLoaded
/
FILE_SIZE
);
onPercentCompleteChange
(
progressLoaded
/
FILE_SIZE
>
0.9
?
0.9
:
progressLoaded
/
FILE_SIZE
);
}
}
);
);
cancelTokenList
.
push
(
afterFileUpload
.
cancel
);
cancelTokenList
.
push
(
afterFileUpload
.
cancel
);
...
...
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