shawenguan hai 1 ano
pai
achega
34d8dba2b7
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Scripts/wubian/wubianFastGrab.js

+ 4 - 0
Scripts/wubian/wubianFastGrab.js

@@ -133,6 +133,10 @@ async function tryToBuy() {
         return;
     }
     let artInfo = await getWillBuyArtInfo();
+    if (!artInfo) {
+        magicJS.notification.appendNotifyInfo(`没有找到对应的产品信息`);
+        return;
+    }
     let isQuick = magicJS.data.read(WuBianConstKey.FastBuyQuickModeEnabled, false);
     if (isQuick) {
         let orderSn = null;