shawenguan 1 tahun lalu
induk
melakukan
4144d7fe37
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      Scripts/hbcpre/hbcpreHelper.js

+ 2 - 1
Scripts/hbcpre/hbcpreHelper.js

@@ -417,12 +417,13 @@ function handleCollectionIndex(){
     for(let i=0; i < dataList.length; i++){
         const id = dataList[i].collection_id;
         const name = dataList[i].title;
+        const realNum = dataList[i].num;
         if(gItemCntRwDict[id] != void 0){
             dataList[i].num = gItemCntRwDict[id];
         } else if(gItemCntRwDict[name] != void 0){
             dataList[i].num = gItemCntRwDict[name];
         }
-        dataList[i].title = `${name} 均价:${dataList[i].avg_price}`
+        dataList[i].title = `${name}#${realNum} 均价:${dataList[i].avg_price}`;
     }
 
     const baseConfig = getBaseConfig();