Angular navigate to route from service

后端 未结 0 1468
失恋的感觉
失恋的感觉 2021-01-24 04:50

I have a service that does some api calls and I need it to go to a different component is something goes wrong.

So I have this:

if (error.status === 0) {
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题