This commit is contained in:
lixin
2018-12-29 19:30:12 +08:00
parent 2f1601c9f5
commit b33479864e
10 changed files with 150 additions and 30 deletions

View File

@@ -1021,7 +1021,7 @@ export default {
const printNode = $(htmlNode)
body.append(printNode)
window.print()
body.children().show()
body.children().not('script').show()
printNode.remove()
}
}