|
@@ -30,7 +30,7 @@ function downLoadApk() {
|
|
|
// 兼容不同浏览器的URL对象
|
|
|
const url = window.URL || window.webkitURL;
|
|
|
link.href = url.createObjectURL(blob);
|
|
|
- link.setAttribute('download', _fileName.substring(_fileName.lastIndexOf('_') + 1));
|
|
|
+ link.setAttribute('download', _fileName);
|
|
|
document.body.appendChild(link);
|
|
|
link.click();
|
|
|
document.body.removeChild(link);
|