Why is the file downloaded with a name 'document' and without an extension? iOS 13,14 (chrome)

前端 未结 0 1333
走了就别回头了
走了就别回头了 2020-12-14 16:25

I have implemented file download in the following way

var link = document.createElement("a");
link.download = name;
link.href = uri;
document.body.a         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题