我使用msSaveBlob()命令下载了一个CSV文件。虽然navigate.msSaveBlob()正在返回true,但我面临一个问题,控制台上没有错误。我被提示说
var blob = new Blob(["Sample String\r\n,For Checking, msSaveBlob"],{});
na
// Support for saveBlob method (Currently only implemented in Internet Explorer as msSaveBlob, other extension in case of future adoption)
var saveBlob = navigator.msSaveBlob ||
我找到navigator.msSaveBlob..。我很高兴,但是幸福并没有持续太久.base64编码图像是字符串!但是我想存储pngfile!帮帮我!Blob([img2],{type:"image/jpeg"}); window.navigator.msSaveBlobalert('File save request made using msSaveBlob() - note the single