背景:
![vue.runtime.esm.js:619 [Vue warn]: Property or method “test“ is not defined on the instance but refe_错误信息](https://file.cfanz.cn/uploads/png/2022/05/30/3/D62KM281K6.png)
解决办法:
根据错误信息,发现是属性或方法“test”未在实例上定义,但在呈现过程中被引用。根据这条线索,可以打开lamp-list.vue文件,局部搜索该 test 关键字,发现该 test 确实没有定义,根据提示将这段代码删除即可
![vue.runtime.esm.js:619 [Vue warn]: Property or method “test“ is not defined on the instance but refe_错误信息_02](https://file.cfanz.cn/uploads/png/2022/05/30/3/ANd0ZKE572.png)
vue.runtime.esm.js:619 [Vue warn]: Property or method “test“ is not defined on the instance but refe
阅读 58
2022-05-30
![vue.runtime.esm.js:619 [Vue warn]: Property or method “test“ is not defined on the instance but refe_错误信息](https://file.cfanz.cn/uploads/png/2022/05/30/3/D62KM281K6.png)
根据错误信息,发现是属性或方法“test”未在实例上定义,但在呈现过程中被引用。根据这条线索,可以打开lamp-list.vue文件,局部搜索该 test 关键字,发现该 test 确实没有定义,根据提示将这段代码删除即可
![vue.runtime.esm.js:619 [Vue warn]: Property or method “test“ is not defined on the instance but refe_错误信息_02](https://file.cfanz.cn/uploads/png/2022/05/30/3/ANd0ZKE572.png)
相关推荐
精彩评论(0)