报vue.js:597的错误
[Vue warn]: Property or method "handleBtnClick" 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
·
[Vue warn]: Property or method "handleBtnClick" 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. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties. (found in <Root>) warn @ vue.js:597 warnNonPresent @ vue.js:1901 has @ vue.js:1934 (anonymous) @ VM451:3 Vue._render @ vue.js:4535 updateComponent @ vue.js:2788 get @ vue.js:3140 Watcher @ vue.js:3129 mountComponent @ vue.js:2795 Vue.$mount @ vue.js:8527 Vue.$mount @ vue.js:10926 Vue._init @ vue.js:4627 Vue @ vue.js:4716 (anonymous) @ index.html?_ijt=f7r05urpgju8igcvbk82ch112s:17
这个找了挺久的问题到头发现是new Vue中method中忘记写复数了
更多推荐
已为社区贡献2条内容
所有评论(0)