Browse Source
Merge pull request #21912 from abpframework/auto-merge/rel-9-0/3396
Merge branch rel-9.1 with rel-9.0
pull/21913/head
maliming
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
9 additions and
1 deletions
-
framework/src/Volo.Abp.AspNetCore.Components.Web.Theming/Layout/PageHeader.razor.cs
|
|
|
@ -4,10 +4,11 @@ using System.Threading.Tasks; |
|
|
|
using Volo.Abp.AspNetCore.Components.Web.Theming.PageToolbars; |
|
|
|
using Volo.Abp.BlazoriseUI; |
|
|
|
using System.Linq; |
|
|
|
using System; |
|
|
|
|
|
|
|
namespace Volo.Abp.AspNetCore.Components.Web.Theming.Layout; |
|
|
|
|
|
|
|
public partial class PageHeader : ComponentBase |
|
|
|
public partial class PageHeader : ComponentBase, IDisposable |
|
|
|
{ |
|
|
|
protected List<RenderFragment> ToolbarItemRenders { get; set; } |
|
|
|
|
|
|
|
@ -107,4 +108,11 @@ public partial class PageHeader : ComponentBase |
|
|
|
{ |
|
|
|
await base.OnInitializedAsync(); |
|
|
|
} |
|
|
|
|
|
|
|
public void Dispose() |
|
|
|
{ |
|
|
|
PageLayout.ToolbarItems.Clear(); |
|
|
|
PageLayout.BreadcrumbItems.Clear(); |
|
|
|
ToolbarItemRenders.Clear(); |
|
|
|
} |
|
|
|
} |
|
|
|
|