Commit 3965c350 by 刘海龙

22

parent dd0cb891
...@@ -286,7 +286,7 @@ ...@@ -286,7 +286,7 @@
// console.log(item.attach) // console.log(item.attach)
var link = document.createElement('a'); var link = document.createElement('a');
//设置下载的文件名 //设置下载的文件名
link.download = filename; link.download = "test";
link.style.display = 'none'; link.style.display = 'none';
//设置下载路径 //设置下载路径
link.href = item.attach; link.href = item.attach;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment