根据我的堆栈跟踪,看起来我的系统js设置有问题。 at Zone.prototype.run (http://localhost:8050/node_modules/zone.js/dist/zone.js:114:17)
at Anonymous function (http://localhost:8050/node_
我做了一个路由服务,想把它注入到我的导航组件中。但是当我在上面调用一个方法时,它会抛出TypeError: routingService.getRequestedPage is not a function。昨天,我在另一个服务上遇到了类似的问题,不幸的是,我忘记了我是如何解决这个问题的。我用终端创建了服务。constructor(private templateService: TemplateService, private routingService: RoutingService) {
this.getTe
_subscribe (http://cw.local/assets/js/dist/cw.angular.min.1522911179.js:229447:34) at Observable(http://cw.local/assets/js/dist/cw.angular.min.1522911179.js:24782:27) at MergeMapSubscriber.adm
转换为Observables let user = await userReqest(userName).toPromise(); let dog = home ?= await homeReqest(user.id).toPromise();
let dog = home ?userGoods("John&qu