SAP Spartacus UnitDetailsComponent的路由跟踪
生活随笔
收集整理的這篇文章主要介紹了
SAP Spartacus UnitDetailsComponent的路由跟踪
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
下圖的createComponent方法,使用ComponentFactory創(chuàng)建ComponentRef:
在這個(gè)調(diào)用棧的createComponent方法里,componentFactory的factory屬性,已經(jīng)出現(xiàn)了UnitDetailsComponent的身影。為什么是這個(gè)Component?
activatedRoute變量里包含了UnitDetailsComponent:
繼續(xù)往上看,activateRoutes:
this.activateChildRoutes:
2085行的futureNode.children里,包含了UnitDetailsComponent.
futureNode包含了UnitDetailsComponent:
RouterState.snapshot.url:
更多Jerry的原創(chuàng)文章,盡在:“汪子熙”:
總結(jié)
以上是生活随笔為你收集整理的SAP Spartacus UnitDetailsComponent的路由跟踪的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 如果还有一次机会
- 下一篇: SAP Spartacus UnitDe