1. //res为流文件内容
    2. let url = window.URL.createObjectURL(new Blob([res]));
    3. let link = document.createElement('a');
    4. link.style.display = 'none';
    5. link.href = url;
    6. link.setAttribute('download', 'app.dat');
    7. document.body.appendChild(link);
    8. link.click();