refactor: 代码优化
This commit is contained in:
parent
9f8a937d50
commit
7338513ec2
|
@ -1 +1 @@
|
|||
Subproject commit cf6b06526324326a563d933e07118fac014a63b4
|
||||
Subproject commit e51e5704f9d7fbfb030a8a7d67d0094a9f36c23d
|
|
@ -226,23 +226,6 @@
|
|||
this.reportExportVisible = false;
|
||||
this.result.loading = false;
|
||||
},
|
||||
// handleExport(name) {
|
||||
//
|
||||
// let result = this.result;
|
||||
// result.loading = true;
|
||||
//
|
||||
// let promises = [];
|
||||
// let canvasList = new Array(this.previews.length);
|
||||
//
|
||||
// for (let item of this.$refs.templateComponent) {
|
||||
// promises.push(item.getCanvas(canvasList));
|
||||
// }
|
||||
//
|
||||
// Promise.all(promises).then(function (info) {
|
||||
// exportPdf(name, canvasList);
|
||||
// result.loading = false;
|
||||
// });
|
||||
// },
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@ -287,8 +270,4 @@
|
|||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.report-export .el-card {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 06d935cd1d22ab36f09763745c2aff8ad3fb08c1
|
||||
Subproject commit 0368a1888936d4ae75554e5341509379982e243c
|
Loading…
Reference in New Issue