Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

breadcrumb doesn't work @v7.2.0 when nzAutoGenerate is true #3186

Closed
cp1001 opened this issue Mar 28, 2019 · 8 comments · Fixed by #3185
Closed

breadcrumb doesn't work @v7.2.0 when nzAutoGenerate is true #3186

cp1001 opened this issue Mar 28, 2019 · 8 comments · Fixed by #3185
Assignees
Labels

Comments

@cp1001
Copy link

cp1001 commented Mar 28, 2019

Reproduction link

https://stackblitz.com

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
@cp1001 cp1001 changed the title breadcrumb doesn't work breadcrumb doesn't work @v7.2.0 when nzAutoGenerate is true Mar 28, 2019
@wzhudev
Copy link
Member

wzhudev commented Mar 28, 2019

@cp1001 重现链接无效

@ng-zorro-bot
Copy link
Collaborator

Hello @cp1001. Please provide a online reproduction by forking this link https://stackblitz.com/edit/ng-zorro-antd-start or a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 7 days.

你好 @cp1001, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 stackblitz 或者提供一个最小化的 GitHub 仓库。7 天内未跟进的 issue 将会被自动关闭。

@jiangzhenxiang
Copy link

Hello @cp1001. Please provide a online reproduction by forking this link https://stackblitz.com/edit/ng-zorro-antd-start or a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 7 days.

你好 @cp1001, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 stackblitz 或者提供一个最小化的 GitHub 仓库。7 天内未跟进的 issue 将会被自动关闭。

https://github.com/jiangzhenxiang/ng-breadcrumb
我使用最新的@angular/cli新建了一个项目, 使用NG-ZORRO 的layout和Breadcrumb, 切换页面面包屑没有更新。

@jiangzhenxiang
Copy link

@cp1001 重现链接无效

stackblitz例子
https://stackblitz.com/edit/ng-zorro-antd-start-kkvhda?file=src%2Fapp%2Fapp.module.ts

@Gyyyang
Copy link

Gyyyang commented Apr 2, 2019

我也出现了同样的问题,刷新后固定在当前页面路由,不会跟随变化

@wzhudev wzhudev added the 👨‍🏭 Some one working on this A community member has started working on this label Apr 2, 2019
@howardlau1999
Copy link

我出现的问题是breadcrumb根本无法获取当前页面的路由,一直为空

@linzhary
Copy link

same problem,在非lazy load 情况下, @v7.3.2 breadcrumb根本无法获取当前页面的路由,一直为空,退回@v7.0.1 breadcrumb 就神奇的出现了。面白y

wzhudev pushed a commit to wzhudev/ng-zorro-antd that referenced this issue Apr 24, 2019
close NG-ZORRO#3186

docs: add link

fix: fix breadcrumb not updated

fix: typo
wzhudev pushed a commit to wzhudev/ng-zorro-antd that referenced this issue Apr 26, 2019
close NG-ZORRO#3186

docs: add link

fix: fix breadcrumb not updated

fix: typo
wzhudev pushed a commit to wzhudev/ng-zorro-antd that referenced this issue Apr 29, 2019
close NG-ZORRO#3186

docs: add link

fix: fix breadcrumb not updated

fix: typo
@duoduoObama
Copy link

我也出现了,出现的问题是[nzAutoGenerate]="true"根本无法获取当前页面的路由,面包屑一直为空
和这个例子一样https://stackblitz.com/edit/ng-zorro-antd-start-kkvhda?file=src%2Fapp%2Fapp.module.ts

wenqi73 pushed a commit that referenced this issue May 17, 2019
… error (#3185)

* fix(module:breadcrumb): fix input boolean and lazy module slash

docs: add link

fix: fix breadcrumb not updated

fix: typo

* test: add test

* chore: cleanup code

* chore: rollback

* chore: remove vscode

close #3186
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this issue Apr 9, 2020
… error (NG-ZORRO#3185)

* fix(module:breadcrumb): fix input boolean and lazy module slash

docs: add link

fix: fix breadcrumb not updated

fix: typo

* test: add test

* chore: cleanup code

* chore: rollback

* chore: remove vscode

close NG-ZORRO#3186
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
… error (NG-ZORRO#3185)

* fix(module:breadcrumb): fix input boolean and lazy module slash

docs: add link

fix: fix breadcrumb not updated

fix: typo

* test: add test

* chore: cleanup code

* chore: rollback

* chore: remove vscode

close NG-ZORRO#3186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants