before mount

This commit is contained in:
ed barz 2022-05-15 00:55:06 +02:00
parent e423d77541
commit 00a33c3ce6
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@ -122,9 +122,11 @@ let vm = new Vue({
this.showlang(lang);
},
},
beforeMount(){
this.getJDB();
},
mounted: function() {
console.log("mounting");
this.getJDB();
this.setlang('fr');
console.log("mounted");
}