利用JSON.stringify 删除对象中的某个节点 // An highlighted block export const removeNode = (obj, node) => { return JSON.parse(JSON.stringify(obj, function (key, value) { if (key == node) { return undefined; } else { return value; } })) }