shawenguan 1 rok pred
rodič
commit
9f74eaf9dc
1 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  1. 4 4
      Scripts/hbcpre/hbcpreHelper.js

+ 4 - 4
Scripts/hbcpre/hbcpreHelper.js

@@ -477,11 +477,11 @@ function handleCompoundIndex(){
     let needList = collection.need;
     for(let i=0; i < needList.length; i++){
         let iData = needList[i];
-        if(iData.user_count == 0){
-            iData.user_count = iData.need_num;
+        if(iData.count_num == 0){
+            iData.count_num = iData.need_num;
         }
-        // if(iData.count_num == 0){
-        //     iData.count_num = iData.need_num;
+        // if(iData.user_count == 0){
+        //     iData.user_count = iData.need_num;
         // }
     }