From b40f8d3ebba9e1e8a52a3c39e45237c3af06a240 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 15 May 2022 00:52:09 +0200 Subject: [PATCH] call getDB --- proj/map/asset/js/.main.js.swp | Bin 12288 -> 12288 bytes proj/map/asset/js/main.js | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/proj/map/asset/js/.main.js.swp b/proj/map/asset/js/.main.js.swp index bc7d30274995eb4e6b07ba93b3eba459f2f39c9a..afd6f1cd497cd27cce85df47c63590441669ad1d 100644 GIT binary patch delta 182 zcmZojXh;xDG6?hZRj|-AVgLdG28P~^g8%s$TQ>^|eCFq!$jHEOkQpKY6jC_M7CeYGEP3HBsy7Eg>y2KvJy{8MrN^IdTNQ6i<8D?UX?S9%s|%WyQ<1u00P%0 AasU7T delta 173 zcmZojXh;xDG6?hZRj|-AVgLdG1_t?!g8%s$TQ&;{eCFp}&d9)UnHeGh6jC_M7;=TGK&%VI0zmu&Xw)4bz5&G7f%pm# sgN)z2SyO2y<3t0Y$>)?rC(EgDPJW=Qv{_W;C?ktsVs7f@yQ<1u0G1jgcK`qY diff --git a/proj/map/asset/js/main.js b/proj/map/asset/js/main.js index 687eb0d..9302ad5 100644 --- a/proj/map/asset/js/main.js +++ b/proj/map/asset/js/main.js @@ -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"); }