优化dialog

This commit is contained in:
chenjianan
2018-12-29 16:24:24 +08:00
parent 7f61f3e091
commit 8fc500d46c
2 changed files with 3 additions and 0 deletions

View File

@@ -975,6 +975,7 @@ export default {
body.append(printNode)
window.print()
body.children().not('script').show()
body.children().not('#app').hide()
printNode.remove()
}).catch(res => {
console.log(res)

View File

@@ -255,7 +255,9 @@ export default {
body.append(printNode)
window.print()
body.children().not('script').show()
body.children().not('#app').hide()
printNode.remove()
this.reload()
} else {
this.$message.error('请选择合同')
}