Explorar o código

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

TonyKang %!s(int64=4) %!d(string=hai) anos
pai
achega
fad38d0e39
Modificáronse 1 ficheiros con 3 adicións e 4 borrados
  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);
                 }
             }
         }