TypeError 之 Cannot convert undefined or null to object

分享一个今天遇到的一个bug , 但愿对你也有用。html 一、Object.keys()中传错了参数post 二、因为undefined和null没法转成对象,因此若是它们作为Object.assign()的参数(只有一个参数),也会报错htm 转载于:https://www.cnblogs.com/sweet-ice/p/11328835.html对象
相关文章
相关标签/搜索