From dee0dcb7fd846171a52902a8bd4d131faf929adc Mon Sep 17 00:00:00 2001 From: vincent Date: Thu, 25 Apr 2019 11:46:39 +0200 Subject: [PATCH] add alert si champs cvide --- client/src/components/chainetv.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/src/components/chainetv.vue b/client/src/components/chainetv.vue index 38b738b..13bdddf 100644 --- a/client/src/components/chainetv.vue +++ b/client/src/components/chainetv.vue @@ -47,6 +47,10 @@ export default { }); }, checkchaine() { + if (this.chaine == ""){ + alert("rentrer un numéro") + return + } this.arrayresultchaines=[]; const arraychaine=this.chaine.split(' ');