alert avec résultat parsechaine

This commit is contained in:
vincent 2019-04-25 17:49:58 +02:00
parent 2291fb2dfa
commit 815d3cd1fb

View File

@ -65,12 +65,14 @@ export default {
const path = process.env.ROOT_API + '/api/v1/chaine/';
axios.put(path)
.then((res) => {
this.messages = res.data;
if (res.data=='OK'){
}
})
.catch((error) => {
.catch((res) => {
// eslint-disable-next-line
console.error(error);
alert("error during database update")
console.error(res);
});
},
},