Преглед на файлове

报表签章报错问题

lishihao преди 2 години
родител
ревизия
cb275c43e0
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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]);