How to pass asynchronous values from display to method - Vue?
The return is an error indicating that the function does not exist.
Where can I be wrong?
Thank you guys
methods: {
teste (value) {
console.log(value)
}
},
display: function () {
this.teste(true)
}
[Vue warn]: Error in render: "TypeError: _this2.teste is not a function"