// array为数组,old_name为修改前属性名,new_name为修改后属性名 JSON.parse(JSON.stringify(array).replace(/old_name/g, 'new_name'))