function showFile(sBaseFile){
if (!sBaseFile) {
///文件不存在!
}
const blob = base64ToBlob(sBaseFile);
if (window.navigator && window.navigator.msSaveOrOpenBlob) {
window.navigator.msSaveOrOpenBlob(blob);
} else {
const fileURL = URL.createObjectURL(blob);
window.open(fileURL);//弹出ppf文件
}
}
base64ToBlob 方法在txt中,这里放不下了