解决办法:

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
猜你喜欢
  • 2022-12-23
  • 2022-01-16
  • 2022-12-23
  • 2022-12-23
  • 2021-10-15
相关资源
相似解决方案