closest()定义在jquery中,不能在原生的js中使用

解决方法:将this.closest()换成$(this).closest()即可

相关文章:

  • 2022-02-10
  • 2021-06-29
  • 2021-11-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2023-03-30
  • 2021-11-08
  • 2022-12-23
  • 2022-12-23
  • 2021-07-02
相关资源
相似解决方案