From 9375e267e1e00132560e41a9757d583ff45f6fec Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期三, 03 七月 2024 10:43:02 +0800
Subject: [PATCH] chore:构建pdf查看器
---
index.html | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/index.html b/index.html
index cfa84ca..087f943 100644
--- a/index.html
+++ b/index.html
@@ -7,6 +7,7 @@
<title>Vite + Vue</title>
<!-- 鐢熶骇鐗堟湰鎹㈡簮 -->
<script src='https://meet.jit.si/external_api.js'></script>
+ <script src='./public/pdfjs/build/pdf.mjs'></script>
</head>
<body>
<div id="app"></div>
@@ -14,6 +15,7 @@
<script>
window.onload = () => {
window.JitsiMeetExternalAPI = JitsiMeetExternalAPI;
+ window.pdfjsLib = pdfjsLib;
}
</script>
</body>
--
Gitblit v1.8.0