在zepto.min.js文件中搜索animate看有没有,如果没有就是没有加入animate的模块

 

解决办法,去github中打开src/文件夹,找到fx.js文件,把内容追加到zepto.min.js中

因为有的zepto.min.js默认只是加载一部分模块的,如果需要touch,也可以加入touch.js模块

地址:https://github.com/madrobby/zepto

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-11
  • 2022-01-29
  • 2021-10-25
  • 2021-12-11
  • 2022-01-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
  • 2021-09-21
相关资源
相似解决方案