first, let"s talk about the requirements raised by customers: upload a pdf file in the background and view the contents of the pdf file, and the front-end mobile end can also view the pdf content online
upload and view the content on the background PC side (this is easy, nesting an iframe is done), but if you open the pdf using iframe on the mobile side, it will be automatically converted to a download file, so you find pdf.js to deal with the pdf file, but to no avail.
page has a canvas tag but is blank
vue-pdf
finally, the mobile end is the nailing application, and then the page is developed with vue
Please give me more advice if you know something about this problem.
if you need to add, please put forward