feat(yihandeled): 打印弹窗调试
This commit is contained in:
parent
50483de458
commit
4681cc5a92
|
@ -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()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue