浏览代码

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

TonyKang 4 年之前
父节点
当前提交
fad38d0e39
共有 1 个文件被更改,包括 3 次插入4 次删除
  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);
                 }
             }
         }