实现文件批量下载

This commit is contained in:
F嘉阳
2018-02-24 11:23:45 +08:00
parent 48b5944d28
commit aa8d5511ab
5 changed files with 182 additions and 1 deletions

View File

@@ -109,6 +109,11 @@ var Main = {
.catch(_ => {
});
},
handleDownload(row) {
/*var url = window.location.protocol+"://"+window.location.host+":"+window.location.port+"/"*/
window.open(getRootPath_web()+"/download/downloadzip?courseName="
+ row.courseName+"&Folder="+row.folder);
},
handleSelect(key, keyPath) {
console.log(key, keyPath);
},