From 5760d158ee3051f1e5f6a62cf9668496d7e6f98c Mon Sep 17 00:00:00 2001 From: gwen Date: Thu, 29 Feb 2024 16:23:34 +0100 Subject: [PATCH] remettre vies restantes --- science-quest/src/components/jeux/pendu/Pendu.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/science-quest/src/components/jeux/pendu/Pendu.vue b/science-quest/src/components/jeux/pendu/Pendu.vue index ad7fff7..7ecbb62 100644 --- a/science-quest/src/components/jeux/pendu/Pendu.vue +++ b/science-quest/src/components/jeux/pendu/Pendu.vue @@ -26,9 +26,9 @@ export default{ }, methods: { creerPartie: function () { - //remettre a zero les variables this.lettresDejaDevine = ""; this.lettresANePasFaireDevinerAuJoueur=""; + this.viesRestantes=10; //appeler l'API fetch(`${REST_API}/scientifiques?page=`+this.intAleatoire(this.api_pagesMaximum)).then(response=>{