问题描述
我像这样覆盖ProductListPageTemplate:
<ng-template cxOutletRef="ProductListPageTemplate">
<app-product-list-template></app-product-list-template>
</ng-template>
这样做,组件cx-product-facet-navigation
的行为与类别中查询的相对链接有关。
特别是:
构面将链接计算为
<a class="value ng-star-inserted" href="/en/USD/?query=:relevance:allCategories:TCE:productCarBrands:8796093070078" tabindex="-1" data-cx-focus="CHEVROLET">
<span>
<span class="label">CHEVROLET</span>
<span class="count">2</span>
</span>
</a>
代替
<a class="value ng-star-inserted" href="/en/USD/industry-solutions/c/TCE?query=:relevance:allCategories:TCE:productCarBrands:8796093070078" tabindex="-1" data-cx-focus="CHEVROLET">
<span>
<span class="label">CHEVROLET</span>
<span class="count">2</span>
</span>
</a>
因此,以这种方式覆盖模板出口时会发生某些事情,从而使活动路径丢失。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)