Object.assign(target, ...sources) 是將后者sources的全部合并到target , 有沒(méi)有方法是只合并具有 target的key, target沒(méi)有的key就不進(jìn)行合并覆蓋 查看完整描述