js 向json中添加新属性

最初
where = {
"key": "applyTime",
"order": "desc",
"applyType": applyType,
"review": "2"
}
添加新属性
where.approvalPro = '1';
此时

where = {
"key": "applyTime",
"order": "desc",
"applyType": applyType,
"review": "2",
approvalPro: "1"
}
posted @ 2020-12-15 18:13  静默之尘  阅读(1850)  评论(0编辑  收藏  举报