Electron-vue introduces the iframe tag, and the page point does not move.

the company wants to do a function of printing pdf in electron. The pdf stream is passed in the background, and the front end gets the stream and prints it. I originally wanted to use the src attribute of the iframe tag to obtain the stream information, and then use document.getElementById ("xx"). ContentWindow.print () to print, but as soon as the electron, page is started, the electron, page will be motionless. Once the iframe is annotated, the page will be normal, so I wonder if iframe and electron are not compatible. Do you have some suggestions from students who know the solution? thank you.

Mar.24,2021

have you solved
66666666666666666666

Menu