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';
|
||||
}
|
||||
},
|
||||
async getName(){
|
||||
async getJDB(){
|
||||
const res = await fetch(dburl);
|
||||
const data = await res.json();
|
||||
this.db = data;
|
||||
|
@ -124,6 +124,7 @@ let vm = new Vue({
|
|||
},
|
||||
mounted: function() {
|
||||
console.log("mounting");
|
||||
this.getJDB();
|
||||
this.setlang('fr');
|
||||
console.log("mounted");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue