call getDB
This commit is contained in:
parent
9d7529b1c5
commit
b40f8d3ebb
Binary file not shown.
|
@ -109,7 +109,7 @@ let vm = new Vue({
|
||||||
langElms[i].style.display = 'revert';
|
langElms[i].style.display = 'revert';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async getName(){
|
async getJDB(){
|
||||||
const res = await fetch(dburl);
|
const res = await fetch(dburl);
|
||||||
const data = await res.json();
|
const data = await res.json();
|
||||||
this.db = data;
|
this.db = data;
|
||||||
|
@ -124,6 +124,7 @@ let vm = new Vue({
|
||||||
},
|
},
|
||||||
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