shawenguan пре 1 година
родитељ
комит
0f12b433d0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Scripts/imoutai/imoutaiHelper.js

+ 1 - 1
Scripts/imoutai/imoutaiHelper.js

@@ -637,7 +637,7 @@ function fliterShopByDistance(itemId, shops, lat, lng){
 
 // 获取产品信息
 function getProductInfo(productId, fieldName) {
-    for (const k in productInfo) {
+    for (const k in iMT_DynProducts) {
         const { picUrl, title, price, count, itemId, inventory, areaLimitTag, areaLimit } = iMT_DynProducts[k];
         if (productId === itemId) {
             return productInfo[k][fieldName];