[Vuejs]-Testing Ajax call with a JSON response returns unexpected token

0👍

You need ; not , in below code

that.loading = false;
that.message = 'Sorry, there was a problem fetching your reports. Please try later.';
that.error = true; // on this line need ';' not ','
console.log(xhr.status + ' ' + exception);

Leave a comment