解决办法: 将if (this.hasOwnProperty(k)) { 改为: if (this.hasOwnProperty && this.hasOwnProperty(k)) { 就可以解决问题了。 相关文章: 2022-12-23 2022-02-20 2022-12-23 2021-08-23 2022-12-23 2021-06-03 2022-12-23