Angular RouterModule.forRoot - access route path parameter, and pass it down to route data

前端 未结 0 932
时光取名叫无心
时光取名叫无心 2020-11-27 04:37

I need to set the data of a route in my angular module:

@NgModule({
    imports: [
        RouterModule.forRoot(
            [
                {
                      


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