alert avec résultat parsechaine
This commit is contained in:
parent
2291fb2dfa
commit
815d3cd1fb
@ -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);
|
||||
});
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user