natasha 2 settimane fa
parent
commit
16cdf2647f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/store/watermark.js

+ 1 - 1
src/store/watermark.js

@@ -37,7 +37,7 @@ let setWatermark = (str, date,idName) => {
     div.style.position = 'absolute'
     div.style.zIndex = '100000'
     div.style.width = document.documentElement.clientWidth + 'px'
-    div.style.height = document.documentElement.clientHeight * 100 + 'px'
+    div.style.height = document.documentElement.clientHeight * 100000 + 'px'
     div.style.background = 'url(' + can.toDataURL('image/png') + ') left top repeat'
         //   document.body.appendChild(div)
     div.style.opacity = '1' // 水印的透明度