MaiXinRong 5 лет назад
Родитель
Сommit
1ca0cfa1c9
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      app/public/report/js/rpt_custom.js

+ 3 - 0
app/public/report/js/rpt_custom.js

@@ -358,6 +358,9 @@ const rptCustomObj = (function () {
             type: gsObj.setting.type,
         };
         const specCol = gsObj.setting.special ? gsObj.setting.special : [];
+        for (const sc of specCol) {
+            sc.sCount = 0;
+        }
         for (const gra of gsObj.grArray) {
             const ra = {tid: gra.tid};
             for (const sc of specCol) {