我正在尝试使用saveAs接口,如
here所述
目前,我只担心谷歌Chrome,我使用最新的金丝雀(版本27.0.1429.0金丝雀)
Qn1:文章说.
The W3C File API includes a FileSaver interface,which makes saving
generated data as easy as saveAs(data,filename),though unfortunately
it will eventually be removed from the spec.
为什么会被删除?
Qn2:代码下方.
if (window.saveAs) { window.saveAs(blob,name); }else{ console.log("saveAs not supported") }
版画
saveAs not supported