Closed zywh closed 8 years ago
JSON config should be loaded before first RESTfull call from homepage. It contains variable for RESTful URL
Async issue. Use promise return and .then for callback
this.mapleconf.load().then(data => { console.log(data.projectRest); //this.getProjects('index.php?r=ngget/getProjects'); this.getProjects(data.projectRest); })
JSON config should be loaded before first RESTfull call from homepage. It contains variable for RESTful URL