xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

vue reactive properties errors All In One

vue reactive properties errors All In One

[Vue warn]: Property or method "handleTabchange" 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.



var vm = new Vue({
  data: {
    // 1. declare message with an empty value
    message: ''
  },
  template: '<div>{{ message }}</div>'
});

// 2. set `message` later
vm.message = 'Hello!';

refs

https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2021-04-21 16:36  xgqfrms  阅读(122)  评论(0编辑  收藏  举报