فهرست منبع

Merge branch 'master' into dev

laiguoran 4 سال پیش
والد
کامیت
897b511ff4
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      app/public/js/change_set.js

+ 3 - 0
app/public/js/change_set.js

@@ -52,6 +52,9 @@ $(document).ready(() => {
             return item.leafXmjs && item.leafXmjs.length !== 0;
         });
         for (const ggd in gclGatherData) {
+            if (gclGatherData[ggd].leafXmjs && gclGatherData[ggd].leafXmjs.length === 0) {
+                gclGatherData.splice(ggd, 1);
+            }
             gclGatherData[ggd].code = gclGatherData[ggd].b_code;
         }
         // 数组去重