下载了pdfjs-4.0.379-dist,但是直接打开viewer.html报错。解决方法:安装live Sever,并用live Server打开 打开浏览器截图 错误提示如下: Access to image at 'file:///D:/work/web-common/car-knowledge-base-web/static/pdfjs-4.0.379-dist/web/ima
pdfjs-dist版本 pnpm i pdfjs-dist@2.5.207 <script setup>import {ref, onMounted, watch} from 'vue'import { useRoute } from "vue-router";import * as pdfjsLib from 'pdfjs-dist'const route = useRout