diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI/Volo/Abp/AspNetCore/Mvc/UI/Layout/BreadCrumb.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI/Volo/Abp/AspNetCore/Mvc/UI/Layout/BreadCrumb.cs index c0459fe5a0..10d03554e4 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI/Volo/Abp/AspNetCore/Mvc/UI/Layout/BreadCrumb.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI/Volo/Abp/AspNetCore/Mvc/UI/Layout/BreadCrumb.cs @@ -20,5 +20,10 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Layout { Items = new List(); } + + public void Add(string text, string url = null, string icon = null) + { + Items.Add(new BreadCrumbItem(text, url, icon)); + } } } \ No newline at end of file