出现Property or method “update“ is not defined on the instance but referenced during render.报错原因

记一次重复出现的错误

错误出现的两种原因:

1、函数位置写错了,fullName3应该写在computed内部,写在外部报错

2、函数名字写错了,methods写成method

扫描二维码关注公众号,回复: 15430070 查看本文章

猜你喜欢

转载自blog.csdn.net/weixin_45612718/article/details/124745925