Home > front end >  PDF. Js error Unknown action from the worker: undefined
PDF. Js error Unknown action from the worker: undefined

Time:09-16

The import PDFJS from "PDFJS - dist";
PDFJS. GlobalWorkerOptions. WorkerSrc='https://bbs.csdn.net/topics/pdfjs-dist/build/pdf.worker.js'
Const loadingTask=PDFJS. GetDocument (pdfValue);//to the direct error

CodePudding user response:

=do you use this belongs to the assignment operation is not input into operation

CodePudding user response:

I also met, version, you reduce the version will be no problem
  • Related