Vue产生的报错信息:[Vue warn]: Property or method 'XXX' is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property.
工具/原料
1
计算机
2
Vue
方法/步骤
1
报错界面截图,请对比报错信息
2
报错时的环境
3
查看代码,其中已经明确定义了方法,运行时仍然报 not defined
4
错误产生原因
5
删除多余的