Commit b4f2e91f authored by GuanHua's avatar GuanHua

fix: 店铺装修问题修复

parent fc75f812
......@@ -218,7 +218,7 @@ const mobileShopTempleteEdit: React.FC<ShopPreviewPropsType> = (props) => {
list.forEach((detailsItem) => {
commodityResList.push({
...detailsItem,
dataList: _getListByIds(detailsItem.idList, allCommodityList)
dataList: _getListByIds(detailsItem.idList || [], allCommodityList)
})
})
listRes = commodityResList
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment