Explorar o código

排序bug修复

laiguoran %!s(int64=4) %!d(string=hai) anos
pai
achega
801ab75b4d
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      app/public/js/tender_showhide.js

+ 4 - 0
app/public/js/tender_showhide.js

@@ -45,6 +45,10 @@ function sortTenderTree(teTree = tenderTree) {
                     return 0;
                 }
             });
+        }
+    }
+    for (const tender of teTree) {
+        if (tender.children) {
             sortTenderTree(tender.children);
         }
     }