From 2b71341d4c79f6622083c034d51ab7815e6e7926 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Fri, 13 Sep 2024 10:22:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E6=96=87=E6=A1=A3=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=B0=B4=E5=8D=B0=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/pdfjs/web/viewer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/pdfjs/web/viewer.js b/static/pdfjs/web/viewer.js index 5de63118..c7ea3730 100644 --- a/static/pdfjs/web/viewer.js +++ b/static/pdfjs/web/viewer.js @@ -12338,7 +12338,7 @@ class PDFPageView { cover.className = "cover"; var obj = {} console.log('href', window.location.href) - if (~window.location.href.indexOf('/SignDocument/')) { + if (~window.location.href.indexOf('/System')) { var str = window.location.search.substr(1) console.log('str', str) str = str.split('?')[1] @@ -12385,12 +12385,12 @@ class PDFPageView { } if (this.annotationLayer?.div) { div.insertBefore(textLayerDiv, this.annotationLayer.div); - if (~window.location.href.indexOf('/SignDocument/')) { + if (~window.location.href.indexOf('/System')) { div.appendChild(cover); } } else { div.appendChild(textLayerDiv); - if (~window.location.href.indexOf('/SignDocument/')) { + if (~window.location.href.indexOf('/System')) { div.appendChild(cover); } }