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);
|
this.showlang(lang);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
beforeMount(){
|
||||||
|
this.getJDB();
|
||||||
|
},
|
||||||
mounted: function() {
|
mounted: function() {
|
||||||
console.log("mounting");
|
console.log("mounting");
|
||||||
this.getJDB();
|
|
||||||
this.setlang('fr');
|
this.setlang('fr');
|
||||||
console.log("mounted");
|
console.log("mounted");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue