TypeError: handler.call is not a function

在这里插入图片描述
检查了一下代码,原来是vscode自动生成的vue 模版 mounted: {}写的有问题,把它改成 mounted () {},就ok 了

猜你喜欢

转载自blog.csdn.net/weixin_36430673/article/details/103031479