Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xxx_phase2_web
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
夏敏伟
xxx_phase2_web
Commits
7397d806
Commit
7397d806
authored
Dec 01, 2023
by
以墨为白
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d82ca10b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/components/common/bigfileUpload.vue
src/components/common/bigfileUpload.vue
+2
-2
No files found.
src/components/common/bigfileUpload.vue
View file @
7397d806
...
@@ -82,13 +82,13 @@ export default {
...
@@ -82,13 +82,13 @@ export default {
}
}
}).
then
(
res
=>
{
}).
then
(
res
=>
{
// 文件已经上传过,忽略上传过程,直接标识上传成功;
// 文件已经上传过,忽略上传过程,直接标识上传成功;
if
(
res
===
-
1
)
{
if
(
res
)
{
uploader
.
skipFile
(
file
);
uploader
.
skipFile
(
file
);
file
.
pass
=
true
;
file
.
pass
=
true
;
_self
.
getProgressBar
(
file
,
1
);
_self
.
getProgressBar
(
file
,
1
);
}
else
{
}
else
{
//文件没有上传过,下标为0 文件上传中断过,返回当前已经上传到的下标
//文件没有上传过,下标为0 文件上传中断过,返回当前已经上传到的下标
file
.
indexcode
=
res
;
file
.
indexcode
=
0
;
}
}
deferred
.
resolve
();
deferred
.
resolve
();
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
...
...
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