使用Vue报错 --- "TypeError: fn.bind is not a function"

使用Vue报错[Vue warn]: Error in nextTick: "TypeError: fn.bind is not a function"
页面进不去。

解决思路:

  (1)看报错信息是methods里有个方法你写的并不是一个函数,可能写了个对象什么的,vue进行fn.bind()处理的时候,.bind取到的可能是undefined。

   (2) 检查一下你methods里面的方法  ,  看看data mounted methods 写的是方法还是对象

原文地址:https://www.cnblogs.com/Antwan-Dmy/p/12144005.html