breadcrumb doesn't work @v7.2.0 when nzAutoGenerate is true
See original GitHub issueReproduction link
Steps to reproduce
我使用了自动生成面包屑的模式:
<nz-breadcrumb [nzAutoGenerate]="true" style="margin:16px 0;">
</nz-breadcrumb>
在v7.0.3版本,刷新页面后,面包屑消失。为了解决这个问题,我升级到v7.2.0,但是切换页面后面包屑没有跟随改变
What is expected?
切换页面后面包屑跟随改变
What is actually happening?
切换页面后面包屑没有跟随改变
| Environment | Info |
|---|---|
| ng-zorro-antd | 7.2.0 |
| Browser | chrome |
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Breadcrumb/block settings - Drupal Answers - Stack Exchange
To your first problem, the menu disappearing on about/faculty-staff/directory: Check how the menu block is configured. Check if there is another menu item ......
Read more >d13r/laravel-breadcrumbs: Please see the Diglactic fork.
Run this at the command line: composer require davejamesmiller/laravel-breadcrumbs:5.x. This will update composer.json and install the package into the ...
Read more >diglactic/laravel-breadcrumbs - Packagist
A simple Laravel-style way to create breadcrumbs.
Read more >use-react-router-breadcrumbs - npm
A hook for displaying and setting breadcrumbs for react router. Latest version: 4.0.1, last published: 2 months ago.
Read more >Automatically generating a breadcrumb with React Router
So here's a way to automatically generate a breadcrumb from your already existing routes. Just interested in the source code?
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

stackblitz例子 https://stackblitz.com/edit/ng-zorro-antd-start-kkvhda?file=src%2Fapp%2Fapp.module.ts
我出现的问题是breadcrumb根本无法获取当前页面的路由,一直为空