vue报错的解决办法

川长思鸟来 2023-02-15 05:24 43阅读 0赞

vue.esm.js?efeb:628 [Vue warn]: Property or method “list” 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. data:{}里面添加list:'',

发表评论

表情:
评论列表 (有 0 条评论,43人围观)

还没有评论,来说两句吧...

相关阅读

    相关 vue及其解决办法

    导语: 初学者在学习vue的时候,特别是刚开始使用vue-cli的时候,在开发过程中经常会出现很多的报错,因此感觉人生不值得,今天一篇文章,帮你搞定所有报错,人生是值得的!!