0
내가 JSON 파일 $ http.get를 통해 부르지 만, 이온 성보기가 제대로 출력 렌더링하지 않습니다이온 및 HTML 출력
loadNews() {
return new Promise(resolve => {
let header = {"Content-Type": "application/json"};
this.http.get('http://www.mywebsite.it/public/index.php/api/news/5')
.map(res => res.json())
.subscribe(data => {
resolve((data));
});
});
}
을 그리고 출력이
감사 세바스찬. 그렇게 간단하고 정확합니다. 감사. 감사. – marco