我从 localStorage 获取的数据 - 商品:[{"article":"1179J-225","count":1,"size":""},{"article":"992J-215","count": 1,"尺寸":""}]。
location.href = 'shopping_cart.php?id=' + JSON.parse(localStorage.getItem('goods'))
我得到:shopping_cart.php?id=[object%20Object],[object%20Object]。
如何以正常形式显示数组中的对象?
![mysqli_result 对象( [current_field] => 0 [field_count] => 4 [lengths] => [num_rows] => 0 [type] => 0 )。](https://isstatic.askoverflow.dev/HtsJd.png)