瀏覽代碼

报表签章报错问题

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]);