添加jQuery,更改pdf打不开bug

This commit is contained in:
sangchengzhi
2026-01-09 19:13:40 +08:00
parent cc8c7e34c9
commit 818891a131
3 changed files with 7 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
"core-js": "^3.45.1",
"dommatrix": "^1.0.3",
"echarts": "^6.0.0",
"jquery": "^3.7.1",
"pdfh5": "^1.4.7",
"pinyin-pro": "^3.27.0",
"qs": "^6.14.0",

View File

@@ -233,6 +233,7 @@ import {Toast, Empty, Calendar, RadioGroup, Radio, Slider} from "vant";
import 'canvas';
import 'dommatrix/dist/dommatrix.js';
import 'web-streams-polyfill/dist/ponyfill.js';
import $ from 'jquery'; // 添加这行来引入jQuery
Vue.use(Calendar);
Vue.use(Radio);

View File

@@ -6433,6 +6433,11 @@ jest-worker@^25.4.0:
merge-stream "^2.0.0"
supports-color "^7.0.0"
jquery@^3.7.1:
version "3.7.1"
resolved "https://registry.npmmirror.com/jquery/-/jquery-3.7.1.tgz#083ef98927c9a6a74d05a6af02806566d16274de"
integrity sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==
js-message@1.0.7:
version "1.0.7"
resolved "https://registry.npmmirror.com/js-message/-/js-message-1.0.7.tgz#fbddd053c7a47021871bb8b2c95397cc17c20e47"