perf:删除没有用到的代码
This commit is contained in:
@@ -735,6 +735,7 @@ export default {
|
||||
},
|
||||
htmlToPdf () {
|
||||
const dom = document.getElementsByClassName(this.pdfId)[0]
|
||||
this.htmlTitle = this.obj.name || 'pdf'
|
||||
if (dom) {
|
||||
// dom = dom.getElementsByClassName('vue-grid-layout')[0]
|
||||
this.scrollbarWrap.scrollTop = this.scrollbarWrap.scrollHeight
|
||||
|
||||
Reference in New Issue
Block a user