我在自定义的module里通过如下代码定义了一个路由参数:
但是RoutingConfigService实现里能看见两个参数映射条目:
原因是因为,在C:\Code\SPA\spartacus\projects\storefrontlib\src\cms-structure\routing\default-routing-config.ts这个文件里,对于product路由有默认的配置:
我在自定义的module里通过如下代码定义了一个路由参数:
但是RoutingConfigService实现里能看见两个参数映射条目:
原因是因为,在C:\Code\SPA\spartacus\projects\storefrontlib\src\cms-structure\routing\default-routing-config.ts这个文件里,对于product路由有默认的配置: