[英]Window.print() function and document.execCommand('print') fucntion is not working in MS Edge
[英]The window.Print() function is not working in Microsoft Edge (Version 91.0.864.59) when canceled the first time Angular 12 app
您可以在此處重現該問題(使用最新的 Edge 瀏覽器版本 91.0.864.59):
https://stackblitz.com/edit/angular-ivy-zbvzap?file=src/app/app.component.html
有沒有人有解決方法?
更新:
它也可以使用純 HTML 頁面(托管)進行復制:
https://stackblitz.com/edit/web-platform-madbq2?file=index.html
經過簡單的測試,我發現在你提到的MS Edge版本中確實存在這樣的問題。
但在Edge Canary中測試后,問題不再存在。 這說明這個問題在以后的版本中已經解決了,所以我認為你不需要擔心這個。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.