部分文档不显示水印修复
continuous-integration/drone/push Build is running

This commit is contained in:
2024-09-13 10:22:24 +08:00
parent fa395f54b2
commit 2b71341d4c
+3 -3
View File
@@ -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);
}
}