品牌活动整改

This commit is contained in:
2026-11-04 12:45:50 +08:00
parent e9866653a9
commit 9bebd3af82
@@ -66,6 +66,8 @@ module.exports = {
if (currentVersion !== this.previewVersion || !this.pdf) return
this.pdfObj = new Pdfh5('#pdf-container', {
pdfurl: pdfUrl,
// 使用二进制数据直接交给 PDF.js,避免 Blob 转 Base64 后被 CSP 的 connect-src 拦截。
responseType: 'arraybuffer',
})
this.pdfObj.on("complete", () => {
if (currentVersion !== this.previewVersion) return