From 75121768a305fe22c24fe1172797c25ef58f414a Mon Sep 17 00:00:00 2001 From: "gwenael.planchon" Date: Wed, 3 Apr 2024 09:06:57 +0200 Subject: [PATCH] =?UTF-8?q?ajouter=20message=20partie=20termin=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- science-quest/src/components/jeux/kahoot/KahootPartie.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/science-quest/src/components/jeux/kahoot/KahootPartie.vue b/science-quest/src/components/jeux/kahoot/KahootPartie.vue index 5c89ade..257d32d 100644 --- a/science-quest/src/components/jeux/kahoot/KahootPartie.vue +++ b/science-quest/src/components/jeux/kahoot/KahootPartie.vue @@ -34,7 +34,8 @@ export default { score:{ pointsGagne:0, }, - pointsAnimation:0 + pointsAnimation:0, + partieTerminee:false, } }, mounted(){ @@ -76,7 +77,7 @@ export default { this.compteAReboursId=window.setInterval(this.calculerCompteARebours,22) } } - ) + ).catch(ex=>this.partieTerminee=true) }, obtenirScores(){ this.resetEtats() //cacher l'etat precedent @@ -174,6 +175,7 @@ export default {
+

Partie Terminée

Votre score : {{ pointsAnimation }} (+{{ score.pointsGagne }})