Explorar o código

报表签章报错问题

lishihao %!s(int64=2) %!d(string=hai) anos
pai
achega
cb275c43e0
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/public/report/js/jpc_output.js

+ 2 - 2
app/public/report/js/jpc_output.js

@@ -439,7 +439,7 @@ let JpcCanvasOutput = {
             if (cell.pic) {
                 const img = new Image();
                 img.src = cell.pic;
-                img.crossOrigin = 'anonymous';
+                // img.crossOrigin = 'anonymous';
                 img.onload = function() {
                     if (cell.signature_name.indexOf(JV.SIGNATURE_NAME_DUMMY) >= 0) {
                         private_drawImage(cell, control, img, (!!cell.isStamp), [1, 1, 1, 1]);
@@ -456,7 +456,7 @@ let JpcCanvasOutput = {
                 } else {
                     img.src = cell.path;
                 }
-                img.crossOrigin = 'anonymous';
+                // img.crossOrigin = 'anonymous';
                 img.onload = function() {
                     if (cell.signature_name.indexOf(JV.SIGNATURE_NAME_DUMMY) >= 0) {
                         private_drawImage(cell, control, img, (!!cell.isStamp), [1, 1, 1, 1]);