SAP Spartacus activeBaseSite的设置逻辑

时间:2022-07-26
本文章向大家介绍SAP Spartacus activeBaseSite的设置逻辑,主要内容包括其使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。

入口:

/**
   * After each Angular NavigationStart event it updates the site context state based on
   * site context params encoded in the anticipated URL.
   *
   * In particular, it's responsible for initializing the state of the context params
   * on page start, reading the values from the URL.
   *
   * @param onContextInitialized notify that the initialization of the context was done based on the URL
   */

参数名称:baseSite