-我在我的应用程序模块中添加了来自Primeng的面包屑模块和在中使用它的组件(也使用Primeng Themes+Flex) -我查看了不同的论坛帖子,但没有找到任何解决方案 -我也试着把它隐藏在我的css中,但要么是我的代码错误,要么是你不能真正隐藏它: -经过研究,我只发现这一部分是由"li.p-breadcrumb-chevron.pi-circle-fill.ng-star-inserted::before"生成的
HTML码:
<p-breadcrumb [model]="breadcrumbItems" [home]="home">
</p-breadcrumb>
.TS代码:
this.home = { icon: 'pi pi-home', routerLink: "/"};
this.breadcrumbItems = [
{ label: "System", routerLink: "component1"},
{label: "user", routerLink: "component2"}
];