如何快速修改替换对象中的某个属性? let newdata = JSON.parse(JSON.stringify(departmentObj).replace(/departmentId/g,"value"));