before mount
This commit is contained in:
parent
e423d77541
commit
00a33c3ce6
Binary file not shown.
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue