我将已排序的项目转换为带有 object.values 的数组,并将我的项目作为道具传递给 productCart
[我的物品数组] ()
[我的购物车.js] ()
结果: 我的项目数组不在 productcart 中呈现 h2 元素 ()