fix(测试跟踪): 报告导出样式缺失

This commit is contained in:
chenjianxing 2020-11-26 15:04:10 +08:00
parent c15f3064c0
commit d3386b748a
3 changed files with 10 additions and 9 deletions

@ -1 +1 @@
Subproject commit bb494fc68a2367359c9048fa7250c7618de4afb6 Subproject commit 57d6f78efa4b0300be188e8b024511ceef0873ed

View File

@ -210,14 +210,15 @@
let reset = this.exportReportReset; let reset = this.exportReportReset;
this.$nextTick(function () { this.$nextTick(function () {
html2canvas(document.getElementById('testCaseReportExport'), { setTimeout(() => {
scale: 2 html2canvas(document.getElementById('testCaseReportExport'), {
}).then(function(canvas) { scale: 2
exportPdf(name, [canvas]); }).then(function(canvas) {
reset(); exportPdf(name, [canvas]);
}); reset();
});
}, 1000);
}); });
}, },
exportReportReset() { exportReportReset() {
this.reportExportVisible = false; this.reportExportVisible = false;

@ -1 +1 @@
Subproject commit 8a972a198775b3783ed6e4cef27197e53d1ebdc8 Subproject commit 71d57ae5d7f8bb5c93a29504ac6f2300dc189ce9