feat(yihandeled): 打印弹窗调试

This commit is contained in:
woody 2025-05-15 09:55:55 +08:00
parent 50483de458
commit 4681cc5a92
1 changed files with 2 additions and 2 deletions

View File

@ -1261,7 +1261,7 @@ export default {
printWindow.document.close() printWindow.document.close()
printWindow.focus() printWindow.focus()
printWindow.print() printWindow.print()
printWindow.close() // printWindow.close()
} else { } else {
const printContent = document.getElementById('print-content2') const printContent = document.getElementById('print-content2')
const printWindow = window.open('', '_blank') // edge const printWindow = window.open('', '_blank') // edge
@ -1269,7 +1269,7 @@ export default {
printWindow.document.close() printWindow.document.close()
printWindow.focus() printWindow.focus()
printWindow.print() printWindow.print()
printWindow.close() // printWindow.close()
} }
}) })
}, },