litian
2024-10-15 1a5e46e6955225675d21fe04962e82b37e7890ed
assets/js/middleGround/tool.js
@@ -151,6 +151,7 @@
// 处理详情查询结果
export function handleDetailQueryRequestData({
  productId,
  item,
  fields,
  path,
@@ -257,11 +258,13 @@
            }
          }
        }
        if (subItem.productLinkInfo && subItem.productLinkInfo.length)
        if (subItem.productLinkInfo && subItem.productLinkInfo.length) {
          let itemProductLinkInfo = subItem.productLinkInfo.find(citem => citem.ProductId == productId)
          subItem.productLinkPath =
          subItem.productLinkInfo[0].LinkPath +
          "\\" +
          subItem.productLinkInfo[0].CmsItemId;
            itemProductLinkInfo?.LinkPath +
            "\\" +
            itemProductLinkInfo?.CmsItemId;
        }
        if (subItem.linkInfo && subItem.linkInfo.length)
          subItem.linkPath =
          subItem.linkInfo[0].LinkPath + "\\" + subItem.linkInfo[0].CmsItemId;