Ver código fonte

归档草图判断(不考虑是否重复)

TonyKang 4 anos atrás
pai
commit
fad38d0e39
1 arquivos alterados com 3 adições e 4 exclusões
  1. 3 4
      app/public/report/js/rpt_archive.js

+ 3 - 4
app/public/report/js/rpt_archive.js

@@ -454,10 +454,9 @@ let rptArchiveObj = {
             for (let sCellIdx = 0; sCellIdx < currentRptPageRst.items[pageIdx].signature_cells.length; sCellIdx++) {
                 let sCell = currentRptPageRst.items[pageIdx].signature_cells[sCellIdx];
                 if (sCell.signature_name === 'dummy_pic' && sCell.path.indexOf('/sign') < 0) {
-                    if (picKeys.indexOf(sCell.path) < 0) {
-                        picKeys.push(sCell.path);
-                        picCells.push(sCell);
-                    }
+                    //草图就不考虑重复问题,重复就重复吧
+                    picKeys.push(sCell.path);
+                    picCells.push(sCell);
                 }
             }
         }