0👍
A post data returns a Response object. What you want to do is change your code to take the Response’s text
property and then parse that as a JSON object, like so:
this.axios.post(store.state.backendEndpoint + '/ImportExport/Import',
formData,{
headers: {
'Content-Type': 'multipart/form-data'
}
}
).then(function(response){
this.parsedData = JSON.parse(response.text());
});
- [Vuejs]-How can i do search filter on vue js 2.5.16?
- [Vuejs]-Why does vuetify in my project break when used in .js file vs .vue file
Source:stackexchange.com