shawenguan il y a 1 an
Parent
commit
3f503685a6
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      Scripts/hbcpre/hbcpreComposite.js

+ 2 - 1
Scripts/hbcpre/hbcpreComposite.js

@@ -86,7 +86,8 @@ async function tryComposite() {
         // 固定材料
         // 固定材料
         let needList = activityData.needList;
         let needList = activityData.needList;
         // 个人拥有材料列表
         // 个人拥有材料列表
-        let ownList = checkHandleMyOwnList(activityData.ownList);
+        let ownList = activityData.ownList;
+        let ownList = checkHandleMyOwnList(activityData.ownList, needList);
         let isEnough = true;
         let isEnough = true;
         for (let i = 0; i < ownList.length; i++) {
         for (let i = 0; i < ownList.length; i++) {
             let iData = ownList[i];
             let iData = ownList[i];