Commit 621a3923 authored by Kimber's avatar Kimber

'up'

parent 82bd2748
...@@ -442,13 +442,7 @@ var Tools = function(){ ...@@ -442,13 +442,7 @@ var Tools = function(){
var link = document.createElement('a'); var link = document.createElement('a');
link.style.display = 'none'; link.style.display = 'none';
link.href = url; link.href = url;
var fileName = name + '.' + suffix; var fileName = name + '.' + suffix;
console.log('name ________________ ', name, '_________________', fileName);
link.setAttribute('download', fileName); link.setAttribute('download', fileName);
document.body.appendChild(link); document.body.appendChild(link);
link.click(); link.click();
......
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