add alert si champs cvide
This commit is contained in:
parent
e2903028fc
commit
dee0dcb7fd
@ -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(' ');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user