🌈 搜索
📅  最后修改于: 2022-03-11 15:01:37.547000             🧑  作者: Mango
var element = {}, cart = []; element.id = id; element.quantity = quantity; cart.push(element);