有带+号的作业无法打包下载的问题
This commit is contained in:
parent
358c344ca5
commit
81187dea36
|
@ -880,7 +880,8 @@ $(function(){
|
||||||
}
|
}
|
||||||
|
|
||||||
if(res.length==1){
|
if(res.length==1){
|
||||||
location.href = '/zipdown/download?file='+res[0].file;return;
|
var file = encodeURI(res[0].file).replace(/\+/g, '%2B');
|
||||||
|
location.href = '/zipdown/download?file='+file;return;
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById('light').style.display='block';
|
document.getElementById('light').style.display='block';
|
||||||
|
|
Loading…
Reference in New Issue