角度2とrxjsで作業しようとすると問題が発生しました。取る場合addtionalのでは、今Subscription対象としませObservableを返してAuthServiceでlogin以来初めて、すべての文句を言わない仕事の今 class LoginPage{
ctor(private auth:AuthService) {}
login(cred) {
t
私は、次のようなエラーがあります。ここでは Failed to load resource: the server responded with a status of 404 (Not Found)
angular2-polyfills.js:332 Error: Error: XHR error (404 Not Found) loading http://localhost:55707/r
Angular2 HTTPリクエストはobservablesを返します。監視対象に関する文書では、監視対象に対して.map()関数を使用することができます。 しかし、私が観察私のhttpに.map()を使用するとき、私はこのエラーを取得: argument is not a function. Are you looking for `mapTo()`?
.mapTo()はやや類似した挙動を提