add alert si champs cvide

This commit is contained in:
vincent 2019-04-25 11:46:39 +02:00
parent e2903028fc
commit dee0dcb7fd

View File

@ -47,6 +47,10 @@ export default {
}); });
}, },
checkchaine() { checkchaine() {
if (this.chaine == ""){
alert("rentrer un numéro")
return
}
this.arrayresultchaines=[]; this.arrayresultchaines=[];
const arraychaine=this.chaine.split(' '); const arraychaine=this.chaine.split(' ');