Angular: Get path param in App-routing.module context

前端 未结 0 928
说谎
说谎 2021-02-01 06:47

I have an Angular resolver for one of my routes that I want to pass the \':category\' path variable into my resolver data.category property like this:

{
    path:         


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