TypeError:handler.call is not a function

https://www.cnblogs.com/lwming/p/11126398.html

进入组件页面是,Vue爆粗:Error in mounted hook:"TypeError:handler.call is not a function"

 造成报错原因就是生命周期钩子函数mounted:{}是否有生命了未定义的方法或是只声明了钩子函数。

处理方法:

1.把mounted:{}删除掉。

2.把mounted:{}改为mounted(){}

原文地址:https://www.cnblogs.com/LoganChen/p/14250261.html