Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
9 years ago
Commit
4e8a9d54941996a851df8ecfa770d51960963021
1 parent
48421e56
上传组件
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
public/js/plugins/upload.js
public/js/plugins/upload.js
View file @
4e8a9d5
...
...
@@ -48,6 +48,7 @@ function getResponse(cb) {
if
(
num
>
20
||
res
)
{
uping
=
false
;
$filename
.
val
(
''
);
clearInterval
(
inter
);
}
...
...
@@ -63,9 +64,11 @@ function getResponse(cb) {
}
$filename
.
change
(
function
()
{
uping
=
true
;
$upload
.
submit
();
getResponse
(
callback
);
if
(
$
(
this
).
val
())
{
uping
=
true
;
$upload
.
submit
();
getResponse
(
callback
);
}
});
exports
.
up
=
up
;
...
...
Please
register
or
login
to post a comment