Просто удерживайте ввод в фокусе в отдельной переменной (здесь: inputOnFocus) и сравните это со значением размытия:
var app = new Vue({
el: '#app',
data: function () {
return {
message: 'Hello Vue!',
input:'',
inputOnFocus: '',
};
},
methods: {
handleFocus(inputBefore) {
this.inputOnFocus = (inputBefore.target.value) ? inputBefore.target.value : '';
},
handleBlur(inputAfter) {
if(this.inputOnFocus === inputAfter.target.value) {
console.log('Input did not change');
} else {
console.log('You changed the input from "' + this.inputOnFocus + '" to "' + inputAfter.target.value + '"');
}
}
}
})