Angular 2 - Post并且没有工作

时间:2016-09-27 22:09:08

标签: angularjs

我正在使用Angle 2在本地工作我正试图运行,代码可以工作但是在浏览器检查器帖子或get方法永远不会执行。

enter image description here

保留代码链接,我是新手,我无法放置代码,抱歉!

英雄-list.component.promise.ts

s16.postimg.org/b7jo7g2d1/list_component_promise.jpg

英雄-list.service.promise.ts

s16.postimg.org/njmkkxq7p/hero_service_promise.jpg

英雄-list.component.html

s16.postimg.org/nkwiecs1h/html.jpg

非常感谢你的帮助!

0 个答案:

没有答案
相关问题