shawenguan 1 năm trước cách đây
mục cha
commit
0f12b433d0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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];