0👍
The this
keyword refers to the object the function belongs to, or the window object if the function belongs to no object.
Try to use .bind
and use a ES5 function
removeUser() {
this.$buefy.dialog.confirm({
message: 'Continue on this task?',
onConfirm: function() {
this.removeUserFunc()
}.bind(this)
})
},
Source:stackexchange.com