NEZ-1788 fix: panel页面整页导出

This commit is contained in:
zhangyu
2022-04-08 13:48:49 +08:00
parent 71d2a0a43f
commit 6fd326949f
5 changed files with 24 additions and 10 deletions

View File

@@ -1,3 +1,13 @@
export default {
methods: {
htmlToPdf () {
const dom = document.getElementsByClassName(this.pdfId)[0]
if (dom) {
this.showScreenLoading(true)
this.getPdf(dom)
} else {
this.showScreenLoading(false)
}
}
}
}