Add filename

This commit is contained in:
the1812 2018-11-18 19:26:30 +08:00
parent 5c1372f73e
commit 4073ff041c
4 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -277,7 +277,7 @@
completeLink.setAttribute("download", result.filename);
completeLink.click();
const message = `下载完成. <a class="link" href="${result.url}">再次保存</a>`;
const message = `下载完成. <a class="link" href="${result.url}" download="${result.filename}">再次保存</a>`;
Toast.success(message, "下载视频");
$(".download-video-panel")