问题描述:

       引入jQuery文件,发现控制台报错 e.indexOf is not a function。

解决方法:

把之前使用 $(window).load(function(){}) 替换成:

$(window).on('load',function(){}) 即可。

 

相关文章:

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