调整为响应式页面

This commit is contained in:
禾几海
2020-05-18 09:00:01 +08:00
parent cdc4f3ea0f
commit c0002d5310
3 changed files with 11 additions and 8 deletions

View File

@@ -115,7 +115,7 @@ export class GlobalUserService {
}
this.localStorageService.removeToken();
this.userObserverArray.forEach(ob => ob.next(new Response<User>(null)));
this.userObserverArray.forEach(ob => ob.error(err));
this.userObserverArray.forEach(ob => ob.error && ob.error(err));
}
});
}