import { HttpModule, JsonpModule } from '@angular/http';
imports: [ BrowserModule, FormsModule, HttpModule, JsonpModule, AppRoutingModule ],
import {Http,Jsonp} from "@angular/http";
constructor(private http:Http,private jsonp:Jsonp) { }
用谷歌浏览器调试,在快捷图标地址添加:
--args --disable-web-security --user-data-dir
网友评论