ng-alain / ng-alain

NG-ZORRO admin panel front-end framework (surge mirror https://ng-alain-doc.surge.sh)
https://ng-alain.com
MIT License
4.54k stars 1.16k forks source link

page-header组件如果带路由参数,会匹配不到菜单,导致page-header没有数据 #2497

Closed shimingxy closed 4 months ago

shimingxy commented 6 months ago

Reproduction link

https://stackblitz.com/

Steps to reproduce

路由地址带路由参数

What is expected?

会匹配不到菜单,导致page-header没有数据

What is actually happening?

正常显示菜单路径

Environment Info
ng-alain 17.3.1
Browser ALL
alain-bot[bot] commented 6 months ago

Translation of this issue:

Page-header components will not match the menu if the route parameters are carried, causing Page-Header to have no data

REPRODUCTION LINK

[https://stackblitz.com/> //stackblitz.com/)

STEPS To Reproduce

Routing address with route parameters

What is exfected?

It will not match the menu, resulting in Page-Header without data

What is actually happy?

Normal display menu path

ENVIRONMENT Info
ng-alain 17.3.1
Browser all
cipchk commented 4 months ago

可以设置 recursiveBreadcrumbtrue