refactor(性能测试): 下载jtl名称改为报告名

This commit is contained in:
Captain.B 2021-06-01 13:29:12 +08:00 committed by 刘瑞斌
parent 5ca32674a2
commit 5cf1c4dcf7
2 changed files with 2 additions and 2 deletions

View File

@ -348,7 +348,7 @@ export default {
// IE
// chrome/firefox
let aTag = document.createElement('a');
aTag.download = this.reportId + ".zip";
aTag.download = this.reportName + ".zip";
aTag.href = URL.createObjectURL(blob);
aTag.click();
URL.revokeObjectURL(aTag.href);

View File

@ -312,7 +312,7 @@ export default {
// IE
// chrome/firefox
let aTag = document.createElement('a');
aTag.download = this.reportId + ".jtl";
aTag.download = this.reportName + ".jtl";
aTag.href = URL.createObjectURL(blob);
aTag.click();
URL.revokeObjectURL(aTag.href)