2017-06-06 80 views

回答

2

删除“。” return

getItems() { return this._http.get('http://localhost/api/items').map(res => res.json()) };